nginx: rate limiting only on proxy protocol
This commit is contained in:
parent
558debc1cb
commit
64bea5387b
3 changed files with 10 additions and 4 deletions
|
@ -26,6 +26,8 @@ http {
|
|||
server {
|
||||
include proxy-protocol.conf;
|
||||
|
||||
set $ratelimit 1;
|
||||
|
||||
include server-base.conf;
|
||||
|
||||
listen 8443 default proxy_protocol;
|
||||
|
|
Reference in a new issue