mirror of
https://github.com/dcarrillo/docker-nginx.git
synced 2025-07-04 10:19:24 +00:00
Refactor tests
This commit is contained in:
@ -69,7 +69,7 @@ http {
|
||||
server_name _ "";
|
||||
access_log /dev/fd/1;
|
||||
|
||||
location = /geoip {
|
||||
location = /ip {
|
||||
limit_req zone=limited4 burst=5 nodelay;
|
||||
if ($http_user_agent ~* (?:curl|wget|libwww-perl|python|ansible-httpget|HTTPie|WindowsPowerShell|http_request|^$)) {
|
||||
return 200 "$remote_addr\n";
|
||||
|
Reference in New Issue
Block a user