Welcome! Log In Create A New Profile


limit_req_zone based on subdomain key

August 20, 2019 03:18PM
We want to rate limit based on subdomain.
Is this possible? If so, how do you it?

Basically, what goes here?

limit_req_zone $XXXXXXX zone=mylimit:10m rate=10r/s;

server {
location /login/ {
limit_req zone=mylimit;

proxy_pass http://my_upstream;
Subject Author Posted

limit_req_zone based on subdomain key

grayaii August 20, 2019 03:18PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready