mirror of
https://github.com/YunoHost-Apps/automad_ynh.git
synced 2024-09-03 18:06:04 +02:00
Fix
This commit is contained in:
parent
2a410084f3
commit
df608768c4
3 changed files with 4 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
location / {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/;
|
||||
|
@ -24,5 +24,5 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
location @rewrite {
|
||||
rewrite ^/(.+)$ __PATH__/index.php?page=$1 last;
|
||||
rewrite ^/(.+)$ /index.php?page=$1 last;
|
||||
}
|
||||
|
|
|
@ -35,12 +35,6 @@
|
|||
"name": "domain",
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"example": "/automad",
|
||||
"default": "/automad"
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
|
|
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
path_url="/"
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
phpversion=$YNH_PHP_VERSION
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue