This this is my config file
limit_conn_zone $binary_remote_addr zone=addr:10m;
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
limit_conn addr 6;
server_name _;
location /Temp/ {
limit_conn addr 6;
limit_rate 2048k;
}
}
that mean all link on my location Temp is limit in 6 connection per second and 2megabityes/per request per second
but if i want to limit child folder in Temp (folder that i create in future like /Temp/ChildTemp1_20200525140220100...), how can i limit child folder to 2 request per child link and max is 1mbitye/request
limit_conn_zone $binary_remote_addr zone=addr:10m;
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www;
limit_conn addr 6;
server_name _;
location /Temp/ {
limit_conn addr 6;
limit_rate 2048k;
}
}
that mean all link on my location Temp is limit in 6 connection per second and 2megabityes/per request per second
but if i want to limit child folder in Temp (folder that i create in future like /Temp/ChildTemp1_20200525140220100...), how can i limit child folder to 2 request per child link and max is 1mbitye/request