From c5d152ac55320e7b77aa493cf672ee23d0382325 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sun, 17 Jan 2021 11:47:19 +0100 Subject: [PATCH] bugfix nginx config --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 65adebf..729b72d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location __PATH__/static/ { # expires 30d; #} -location / { +location __PATH__/ { # https://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf # this is needed if you have file import via upload enabled @@ -30,5 +30,5 @@ location / { proxy_connect_timeout 30; proxy_redirect off; - proxy_pass http://127.0.0.1:__PORT__/; + proxy_pass http://127.0.0.1:__PORT__; }