mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #5857 from nextcloud/anoymouserver/remove-global-browser-caching
remove global browser caching
This commit is contained in:
commit
aeb00d8f23
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user