firewall: fix readme.

This commit is contained in:
Arseny Balobanov 2020-04-02 23:22:04 +03:00
parent b553aa09e6
commit 623821ebc0

View file

@ -36,7 +36,7 @@ Content-Type: text/plain; charset=utf-8
``` ```
go run ./firewall/cmd/firewall/main.go -service-addr http://localhost:8080 -addr localhost:8081 -conf ./firewall/configs/example.yaml go run ./firewall/cmd/firewall/main.go -service-addr http://localhost:8080 -addr localhost:8081 -conf ./firewall/configs/example.yaml
``` ```
Делем тот же запрос через него: Делаем тот же запрос через него:
``` ```
curl -i http://localhost:8081/list -d '"loooooooooooooooooooooooooooooong-line"' curl -i http://localhost:8081/list -d '"loooooooooooooooooooooooooooooong-line"'
HTTP/1.1 403 Forbidden HTTP/1.1 403 Forbidden