Found and fixed a typo in nginx.conf. And added a X-Real-IP header for :8000 HTTP port.
This commit is contained in:
parent
e3f555a01a
commit
c3b3604a6f
@ -26,7 +26,7 @@ server {
|
||||
}
|
||||
|
||||
location /live/ {
|
||||
proxy_pass http://127.0.0.1:8000/;
|
||||
proxy_pass http://127.0.0.1:8001/;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
@ -53,6 +53,7 @@ server {
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8001/;
|
||||
proxy_buffering off;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
location /admin/ {
|
||||
|
Loading…
Reference in New Issue
Block a user