mirror of
https://github.com/YunoHost-Apps/pyinventory_ynh.git
synced 2024-09-03 20:16:09 +02:00
Bugfix nginx.conf
This commit is contained in:
parent
29ca95f076
commit
5350949560
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