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
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=1
|
||||
setup_sub_dir=0
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=1
|
||||
|
|
|
@ -3,10 +3,10 @@ location __PATH__/ {
|
|||
|
||||
alias __FINALPATH__/;
|
||||
|
||||
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||
more_set_headers "X-Content-Type-Options: nosniff";
|
||||
more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||
more_set_headers "Content-Security-Policy: frame-ancestors 'none'";
|
||||
#more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||
#more_set_headers "X-Content-Type-Options: nosniff";
|
||||
#more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||
#more_set_headers "Content-Security-Policy: frame-ancestors 'none'";
|
||||
|
||||
index index.html;
|
||||
}
|
||||
|
|
|
@ -32,12 +32,6 @@
|
|||
"name": "domain",
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"example": "/hydrogen",
|
||||
"default": "/hydrogen"
|
||||
},
|
||||
{
|
||||
"name": "default_server",
|
||||
"type": "string",
|
||||
|
|
|
@ -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
|
||||
default_server=$YNH_APP_ARG_DEFAULT_SERVER
|
||||
|
||||
|
|
Loading…
Reference in a new issue