Merge pull request #5857 from nextcloud/anoymouserver/remove-global-browser-caching

remove global browser caching
This commit is contained in:
Morris Jobke 2021-01-12 18:00:32 +01:00 committed by GitHub
commit aeb00d8f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,9 +100,6 @@ webroot of your nginx installation. In this example it is
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Default Cache-Control policy
expires 1m;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
@ -287,9 +284,6 @@ The configuration differs from the "Nextcloud in webroot" configuration above in
# `try_files $uri $uri/ /nextcloud/index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /nextcloud/index.php$request_uri;
# Default Cache-Control policy
expires 1m;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = /nextcloud {