From c3b3604a6f16f439609d2cb9ebdba93829383a41 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 23 Sep 2023 23:09:47 +0400 Subject: [PATCH] Found and fixed a typo in nginx.conf. And added a X-Real-IP header for :8000 HTTP port. --- configs/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 3faeaa7..03323d2 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -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/ {