From e1c051e4d23999b09cac3c6b4e148593e55a7837 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sat, 19 Feb 2022 11:58:44 +0100 Subject: [PATCH] add stacosys web admin --- docker/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/nginx.conf b/docker/nginx.conf index 1e12392..bd62345 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -38,5 +38,13 @@ http { proxy_set_header X-Forwarded-For $remote_addr; proxy_pass http://stacosys:8100/newcomment; } + + location /web { + proxy_pass http://stacosys:8100/web; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + } } }