diff --git a/check_process b/check_process index 1c21f46..b988cb6 100644 --- a/check_process +++ b/check_process @@ -11,7 +11,7 @@ ; Checks pkg_linter=1 setup_sub_dir=1 - setup_root=0 + setup_root=1 setup_nourl=0 setup_private=1 setup_public=0 diff --git a/conf/nginx.conf b/conf/nginx.conf index a49a1ca..45c14cd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,3 +1,4 @@ +#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { alias __FINALPATH__/web/public/; index index.php; @@ -37,6 +38,3 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } - -# append trailing slash in case of a subpath -location = __PATH__ { return 302 __PATH__/; }