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

Remove rewrite rule

This commit reverts to state of 4c90f885c3.
Rewrite are not followed by PUT request, which makes them unusable.
This commit is contained in:
Julien Malik 2014-01-17 18:12:09 +01:00
parent aa1c28aae3
commit 677e40af43

View file

@ -3,9 +3,6 @@ location PATHTOCHANGE {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
if ($request_uri !~ index.php/$) {
rewrite ^PATHTOCHANGE/(.*)$ https://$server_namePATHTOCHANGE/index.php/$1 permanent;
}
index index.php;
try_files $uri $uri/ /index.php?$args;
location ~ [^/]\.php(/|$) {