How do I use Ngnix rate limits?
in the additional Nginx directive of Plesk???
I just tried this...
Server directory is not allowed here...
How should I use this properly?
Code:
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
server {
location /login/ {
limit_req zone=mylimit;
proxy_pass http://my_upstream;
}
}
I just tried this...
Server directory is not allowed here...
How should I use this properly?