Test for real-ip header

This commit is contained in:
Jamie Curnow 2020-11-06 13:17:30 +10:00
parent 89d6773bda
commit d7437cc4a7

View File

@ -3,4 +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_pass $forward_scheme://$server:$port;