mirror of
https://github.com/YunoHost-Apps/tandoor_ynh.git
synced 2024-09-03 20:35:56 +02:00
fix
This commit is contained in:
parent
2a1251f854
commit
7c885c4e7f
1 changed files with 3 additions and 6 deletions
|
@ -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__;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue