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