From 5847413636932c3e0eb2e187e599043aba1f8a7c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 7 Nov 2020 10:29:37 +0100 Subject: [PATCH 1/3] Update check_process --- check_process | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_process b/check_process index b84e090..397e83b 100644 --- a/check_process +++ b/check_process @@ -19,7 +19,7 @@ backup_restore=1 multi_instance=1 port_already_use=0 - change_url=0 + change_url=1 ;;; Levels # If the level 5 (Package linter) is forced to 1. Please add justifications here. Level 5=auto From a24e803c93baa84fd849dc00883f6aa2ff422c3f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 13 Nov 2020 22:42:22 +0100 Subject: [PATCH 2/3] Update nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index fa6bad6..9e7a3ef 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,8 @@ location ^~ __PATH__/ { index index.php; - try_files $uri $uri/ @lychee; + try_files $uri $uri/ /lychee//lychee/index.php?$query_string; + location ~ \.php$ { if (!-e $request_filename) { rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last; From b0e6ccab6b6b1bf9512906487c7fa90aa9ce6b87 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 13 Nov 2020 23:07:17 +0100 Subject: [PATCH 3/3] Update nginx.conf --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9e7a3ef..2a116c6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,11 +11,11 @@ location ^~ __PATH__/ { index index.php; - try_files $uri $uri/ /lychee//lychee/index.php?$query_string; + try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; location ~ \.php$ { if (!-e $request_filename) { - rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last; + rewrite ^__PATH__/?(.*)$ __PATH__/index.php?/$1 last; break; } fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; @@ -31,5 +31,5 @@ location ^~ __PATH__/ { include conf.d/yunohost_panel.conf.inc; } location @lychee { - rewrite /lychee/(.*)$ /lychee/index.php?/$1 last; + rewrite __PATH__/(.*)$ __PATH__/index.php?/$1 last; }