mirror of
https://github.com/YunoHost-Apps/django-for-runners_ynh.git
synced 2024-09-03 18:26:16 +02:00
bugfix nginx config
This commit is contained in:
parent
c4a0e71ee6
commit
c5d152ac55
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ location __PATH__/static/ {
|
||||||
# expires 30d;
|
# expires 30d;
|
||||||
#}
|
#}
|
||||||
|
|
||||||
location / {
|
location __PATH__/ {
|
||||||
# https://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf
|
# https://github.com/benoitc/gunicorn/blob/master/examples/nginx.conf
|
||||||
|
|
||||||
# this is needed if you have file import via upload enabled
|
# this is needed if you have file import via upload enabled
|
||||||
|
@ -30,5 +30,5 @@ location / {
|
||||||
proxy_connect_timeout 30;
|
proxy_connect_timeout 30;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue