mirror of
https://github.com/YunoHost-Apps/prettynoemiecms_ynh.git
synced 2024-09-03 20:06:36 +02:00
Update nginx.conf
This commit is contained in:
parent
9683c7462c
commit
380175bb05
1 changed files with 3 additions and 2 deletions
|
@ -14,9 +14,10 @@ location __PATH__/ {
|
|||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
client_max_body_size 50M;
|
||||
|
||||
location __PATH__/yunohost/sso/ {
|
||||
location __PATH__/yunohost {
|
||||
try_files $uri $uri/ index.php;
|
||||
}
|
||||
|
||||
location __PATH__/ {
|
||||
try_files $uri $uri/ @prettynoemiecms;
|
||||
}
|
||||
|
@ -38,7 +39,7 @@ location __PATH__/ {
|
|||
}
|
||||
|
||||
location @prettynoemiecms {
|
||||
rewrite /(.*)$ /index.php?/$1 last;
|
||||
rewrite /(.*)$ __PATH__/index.php?/$1 last;
|
||||
}
|
||||
|
||||
location __PATH__/medias/ {
|
||||
|
|
Loading…
Reference in a new issue