1
Fork 0

Use forwarded header to get real IP

This commit is contained in:
Jake Howard 2020-04-10 12:07:36 +01:00
parent a5e273cae6
commit a1e99c347d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -17,6 +17,9 @@ http {
access_log /dev/stdout;
access_log /var/log/nginx/access.log;
set_real_ip_from 0.0.0.0/0;
real_ip_header X-Forwarded-For;
sendfile on;
keepalive_timeout 65;