Compare commits

...

2 Commits
master ... path

Author SHA1 Message Date
ericgaspar 61ac907601
Update check_process 2021-08-14 22:20:12 +02:00
ericgaspar 40af375983
Fix 2021-08-14 22:07:19 +02:00
4 changed files with 12 additions and 4 deletions

View File

@ -7,7 +7,7 @@
is_public=1
; Checks
pkg_linter=1
setup_sub_dir=0
setup_sub_dir=1
setup_root=1
setup_nourl=0
setup_private=1

View File

@ -1,4 +1,5 @@
location / {
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Path to source
alias __FINALPATH__/;
@ -12,7 +13,8 @@ location / {
#client_max_body_size 50M;
try_files $uri $uri/ index.php;
try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string;
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;

View File

@ -36,6 +36,12 @@
"type": "domain",
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"example": "/easyappointments",
"default": "/easyappointments"
},
{
"name": "is_public",
"type": "boolean",

View File

@ -21,7 +21,7 @@ ynh_abort_if_errors
#=================================================
domain=$YNH_APP_ARG_DOMAIN
path_url="/"
path_url=$YNH_APP_ARG_PATH
language=$YNH_APP_ARG_LANGUAGE
is_public=$YNH_APP_ARG_IS_PUBLIC