1
0
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:
2019-12-15 18:45:41 +01:00
parent 8e4090584c
commit a6c7c8e7c7
2 changed files with 12 additions and 10 deletions

View File

@ -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";