fix #10: use real IPs instead of docker ones
All checks were successful
All checks were successful
This commit is contained in:
@@ -85,6 +85,10 @@ http {
|
|||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# use real IPs instead of docker ones
|
||||||
|
set_real_ip_from 172.18.0.0/16;
|
||||||
|
real_ip_header X-Forwarded-For;
|
||||||
|
real_ip_recursive on;
|
||||||
|
|
||||||
# Specifies the main log format.
|
# Specifies the main log format.
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
|
|||||||
Reference in New Issue
Block a user