Loading etc/nginx/conf.d/spot.conf +0 −14 Original line number Diff line number Diff line geo $limit { default 1; 5.9.58.49 0; } map $limit $limit_key { 0 ""; 1 $http_x_forwarded_for; } limit_req_zone $limit_key zone=botlimit:10m rate=10r/s; server { listen 80; server_name _; Loading @@ -21,11 +9,9 @@ server { root /var/www/spot; location = / { limit_req zone=botlimit burst=10; include /etc/nginx/proxy_spot_params; } location = /search { limit_req zone=botlimit burst=10; include /etc/nginx/proxy_spot_params; } location / { Loading Loading
etc/nginx/conf.d/spot.conf +0 −14 Original line number Diff line number Diff line geo $limit { default 1; 5.9.58.49 0; } map $limit $limit_key { 0 ""; 1 $http_x_forwarded_for; } limit_req_zone $limit_key zone=botlimit:10m rate=10r/s; server { listen 80; server_name _; Loading @@ -21,11 +9,9 @@ server { root /var/www/spot; location = / { limit_req zone=botlimit burst=10; include /etc/nginx/proxy_spot_params; } location = /search { limit_req zone=botlimit burst=10; include /etc/nginx/proxy_spot_params; } location / { Loading