1
0

Found and fixed a typo in nginx.conf. And added a X-Real-IP header for :8000 HTTP port.

This commit is contained in:
Alexander Andreev 2023-09-23 23:09:47 +04:00
parent e3f555a01a
commit c3b3604a6f
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -26,7 +26,7 @@ server {
} }
location /live/ { location /live/ {
proxy_pass http://127.0.0.1:8000/; proxy_pass http://127.0.0.1:8001/;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
} }
@ -53,6 +53,7 @@ server {
location / { location / {
proxy_pass http://127.0.0.1:8001/; proxy_pass http://127.0.0.1:8001/;
proxy_buffering off; proxy_buffering off;
proxy_set_header X-Real-IP $remote_addr;
} }
location /admin/ { location /admin/ {