1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/prettynoemiecms_ynh.git synced 2024-09-03 20:06:36 +02:00

Fix multi instance

This commit is contained in:
Kay0u 2020-04-24 01:55:39 +02:00
parent 759d22f3e7
commit b7fd225b75
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

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