From 4675e12d106c0adeee47f215579eb5e1b0b54ab8 Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Sat, 26 Jan 2019 19:17:36 +0100 Subject: [PATCH] https://www.c-rieger.de/nextcloud-installation-guide-ubuntu/ --- install-nextcloud-ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-nextcloud-ubuntu.sh b/install-nextcloud-ubuntu.sh index ae0411d..0745787 100644 --- a/install-nextcloud-ubuntu.sh +++ b/install-nextcloud-ubuntu.sh @@ -394,7 +394,7 @@ return 301 \$scheme://\$host/remote.php/dav; } client_max_body_size 10240M; location / { -rewrite ^ /index.php\$uri; +rewrite ^ /index.php$request_uri; } location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ { deny all; @@ -424,7 +424,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\$uri\$is_args\$args; +try_files $uri /index.php$request_uri; access_log off; expires 360d; }