Use remote addr as real ip

This commit is contained in:
Jamie Curnow 2020-11-06 13:21:22 +10:00
parent d7437cc4a7
commit 13eaa346bc

View File

@ -3,6 +3,6 @@ proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $http_x_real_ip;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass $forward_scheme://$server:$port;