1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00

Update nginx.conf

This commit is contained in:
Julien Malik 2014-01-11 13:49:43 +01:00
parent 8467a5d48f
commit 66ebcaa80d

View file

@ -4,7 +4,7 @@ location PATHTOCHANGE {
rewrite ^ https://$server_name$request_uri? permanent; rewrite ^ https://$server_name$request_uri? permanent;
} }
if ($request_uri !~ index.php/$) { if ($request_uri !~ index.php/$) {
rewrite ^/PATHTOCHANGE/(.*)$ https://$server_name/PATHTOCHANGE/index.php/$1 permanent; rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent;
} }
index index.php; index index.php;
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;