mirror of
https://github.com/YunoHost-Apps/hydrogen_ynh.git
synced 2024-09-03 19:26:17 +02:00
commit
183b2d232f
4 changed files with 6 additions and 12 deletions
|
@ -5,7 +5,7 @@
|
||||||
is_public=1
|
is_public=1
|
||||||
; Checks
|
; Checks
|
||||||
pkg_linter=1
|
pkg_linter=1
|
||||||
setup_sub_dir=1
|
setup_sub_dir=0
|
||||||
setup_root=1
|
setup_root=1
|
||||||
setup_nourl=0
|
setup_nourl=0
|
||||||
setup_private=1
|
setup_private=1
|
||||||
|
|
|
@ -3,10 +3,10 @@ location __PATH__/ {
|
||||||
|
|
||||||
alias __FINALPATH__/;
|
alias __FINALPATH__/;
|
||||||
|
|
||||||
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
#more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||||
more_set_headers "X-Content-Type-Options: nosniff";
|
#more_set_headers "X-Content-Type-Options: nosniff";
|
||||||
more_set_headers "X-XSS-Protection: 1; mode=block";
|
#more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||||
more_set_headers "Content-Security-Policy: frame-ancestors 'none'";
|
#more_set_headers "Content-Security-Policy: frame-ancestors 'none'";
|
||||||
|
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,12 +32,6 @@
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain"
|
"type": "domain"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"type": "path",
|
|
||||||
"example": "/hydrogen",
|
|
||||||
"default": "/hydrogen"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "default_server",
|
"name": "default_server",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path_url=$YNH_APP_ARG_PATH
|
path_url="/"
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
default_server=$YNH_APP_ARG_DEFAULT_SERVER
|
default_server=$YNH_APP_ARG_DEFAULT_SERVER
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue