From 85bb5c8c639416458c13ccd662e506d10fa35799 Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Sun, 27 Jan 2019 16:26:08 +0100 Subject: [PATCH] https://www.c-rieger.de/nextcloud-installation-guide-debian/ rewrite ^ /index.php\$request_uri; try_files \$uri /index.php\$request_uri; --- install-nextcloud-debian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-nextcloud-debian.sh b/install-nextcloud-debian.sh index 15f924a..b0ba421 100644 --- a/install-nextcloud-debian.sh +++ b/install-nextcloud-debian.sh @@ -399,7 +399,7 @@ return 301 \$scheme://\$host/remote.php/dav; } client_max_body_size 10240M; location / { -rewrite ^ /index.php$request_uri; +rewrite ^ /index.php\$request_uri; } location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ { deny all; @@ -429,7 +429,7 @@ try_files \$uri/ =404; index index.php; } location ~ \.(?:css|js|woff2?|svg|gif|png|html|ttf|ico|jpg|jpeg)\$ { -try_files $uri /index.php$request_uri; +try_files \$uri /index.php\$request_uri; access_log off; expires 360d; }