Skip to content

Commit aeb00d8

Browse files
authored
Merge pull request #5857 from nextcloud/anoymouserver/remove-global-browser-caching
remove global browser caching
2 parents 01d8c7b + 3e32818 commit aeb00d8

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

admin_manual/installation/nginx.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ webroot of your nginx installation. In this example it is
100100
# always provides the desired behaviour.
101101
index index.php index.html /index.php$request_uri;
102102
103-
# Default Cache-Control policy
104-
expires 1m;
105-
106103
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
107104
location = / {
108105
if ( $http_user_agent ~ ^DavClnt ) {
@@ -287,9 +284,6 @@ The configuration differs from the "Nextcloud in webroot" configuration above in
287284
# `try_files $uri $uri/ /nextcloud/index.php$request_uri`
288285
# always provides the desired behaviour.
289286
index index.php index.html /nextcloud/index.php$request_uri;
290-
291-
# Default Cache-Control policy
292-
expires 1m;
293287
294288
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
295289
location = /nextcloud {

0 commit comments

Comments
 (0)