1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/selfoss_ynh.git synced 2024-09-03 20:16:21 +02:00
This commit is contained in:
ericgaspar 2022-03-22 12:21:33 +01:00
parent 2cb317b33a
commit 424cdb371f
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 4 additions and 11 deletions

View file

@ -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

View file

@ -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)(/.*)$;

View file

@ -36,12 +36,6 @@
"name": "domain",
"type": "domain"
},
{
"name": "path",
"type": "path",
"example": "/selfoss",
"default": "/selfoss"
},
{
"name": "admin",
"type": "user"

View file

@ -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