Add remote address to nginx conf
This commit is contained in:
parent
cac6d44166
commit
62c3a87cda
1
GUIDE.md
1
GUIDE.md
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user