1
0
Fork 0
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:
Kayou 2019-06-03 18:00:53 +02:00 committed by GitHub
parent 9683c7462c
commit 380175bb05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,9 +14,10 @@ location __PATH__/ {
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M; client_max_body_size 50M;
location __PATH__/yunohost/sso/ { location __PATH__/yunohost {
try_files $uri $uri/ index.php; try_files $uri $uri/ index.php;
} }
location __PATH__/ { location __PATH__/ {
try_files $uri $uri/ @prettynoemiecms; try_files $uri $uri/ @prettynoemiecms;
} }
@ -38,7 +39,7 @@ location __PATH__/ {
} }
location @prettynoemiecms { location @prettynoemiecms {
rewrite /(.*)$ /index.php?/$1 last; rewrite /(.*)$ __PATH__/index.php?/$1 last;
} }
location __PATH__/medias/ { location __PATH__/medias/ {