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__; }