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 __PATH__/ {
location / {
proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off;
@ -14,13 +13,11 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc;
}
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/static {
location /static {
alias __FINALPATH__/staticfiles;
}
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/media {
location /media {
alias __DATADIR__;
}