diff --git a/check_process b/check_process index fd35a8f..337be1f 100644 --- a/check_process +++ b/check_process @@ -8,7 +8,7 @@ password="1Strong-Password" ; Checks pkg_linter=1 - setup_sub_dir=1 + setup_sub_dir=0 setup_root=1 setup_nourl=0 setup_private=1 diff --git a/conf/nginx.conf b/conf/nginx.conf index 0bd2dce..a705a85 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,12 +1,11 @@ -#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -location __PATH__/ { +location / { # Path to source alias __FINALPATH__/; index index.php; - try_files $uri __PATH__/public/$uri __PATH__/index.php; + try_files $uri /public/$uri /index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; diff --git a/manifest.json b/manifest.json index 359cbb1..d58bc17 100644 --- a/manifest.json +++ b/manifest.json @@ -36,12 +36,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/selfoss", - "default": "/selfoss" - }, { "name": "admin", "type": "user" diff --git a/scripts/install b/scripts/install index 7456ea6..8888c67 100755 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url=$YNH_APP_ARG_PATH +path_url="/" admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC language=$YNH_APP_ARG_LANGUAGE