Add remote address to nginx conf

This commit is contained in:
R. Miles McCain 2020-05-19 17:56:11 -04:00
parent cac6d44166
commit 62c3a87cda
No known key found for this signature in database
GPG Key ID: 24F9B6A2588C5408

View File

@ -138,6 +138,7 @@ Nginx is a self hosted, highly configurable webserver. Nginx can be configured t
server { server {
listen 80; listen 80;
location / { location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:8080; proxy_pass http://127.0.0.1:8080;
} }
} }