1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
This commit is contained in:
ericgaspar 2021-08-30 13:09:57 +02:00
parent db6617a726
commit d75eb1e54c
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 2 additions and 9 deletions

View file

@ -1,5 +1,4 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
location / {
# Force usage of https
if ($scheme = http) {

View file

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

View file

@ -26,7 +26,7 @@ ynh_abort_if_errors
# Retrieve arguments
domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
path_url="/"
is_public=$YNH_APP_ARG_IS_PUBLIC
admin=$YNH_APP_ARG_ADMIN
password=$YNH_APP_ARG_PASSWORD