From f6bdf2cb9cd38521915527d2cfea37b8bce979ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 21 Nov 2022 19:40:54 +0100 Subject: [PATCH 1/3] Fix --- manifest.json | 6 ------ scripts/install | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 38b31dd..cdcb3cb 100644 --- a/manifest.json +++ b/manifest.json @@ -32,12 +32,6 @@ "name": "domain", "type": "domain" }, - { - "name": "path", - "type": "path", - "example": "/hydrogen", - "default": "/hydrogen" - }, { "name": "default_server", "type": "string", diff --git a/scripts/install b/scripts/install index 4e184a2..81dde7c 100755 --- a/scripts/install +++ b/scripts/install @@ -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 From 7da6478f71990b4f36339af692df788345ee6cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 21 Nov 2022 19:41:12 +0100 Subject: [PATCH 2/3] Update check_process --- check_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_process b/check_process index a94739b..86d519e 100644 --- a/check_process +++ b/check_process @@ -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 From 62761c62fe67a784cfdbec8cffe46de74750d2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 21 Nov 2022 19:44:06 +0100 Subject: [PATCH 3/3] Update nginx.conf --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index afae0ed..705c77d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; }