1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00
This commit is contained in:
navanchauhan 2022-08-09 19:43:01 -04:00
parent 2a1251f854
commit 7c885c4e7f

View file

@ -1,5 +1,4 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location / {
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off; proxy_redirect off;
@ -14,13 +13,11 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
} }
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location /static {
location __PATH__/static {
alias __FINALPATH__/staticfiles; alias __FINALPATH__/staticfiles;
} }
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location /media {
location __PATH__/media {
alias __DATADIR__; alias __DATADIR__;
} }