From b7fd225b75742a11c78b5ab61353f1ce09ca9203 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Fri, 24 Apr 2020 01:55:39 +0200 Subject: [PATCH] Fix multi instance --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 05523a2..9677e2b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,7 +19,7 @@ location __PATH__/ { } location __PATH__/ { - try_files $uri $uri/ @prettynoemiecms; + try_files $uri $uri/ @__NAME__; } location ~ [^/]\.php(/|$) { @@ -38,6 +38,6 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; } -location @prettynoemiecms { +location @__NAME__ { rewrite /(.*)$ __PATH__/index.php?/$1 last; }