1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hydrogen_ynh.git synced 2024-09-03 19:26:17 +02:00

Merge pull request #17 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-11-21 19:57:22 +01:00 committed by GitHub
commit 183b2d232f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 12 deletions

View file

@ -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

View file

@ -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;
} }

View file

@ -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",

View file

@ -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