0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-18 09:56:09 +02:00

Update cache policy to match documentation (fix #2313)

This commit is contained in:
J0WI 2025-02-07 03:01:32 +01:00
parent 98a9617352
commit ba5bca4551
4 changed files with 4 additions and 4 deletions

View file

@ -183,7 +183,7 @@ http {
}
}
location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets

View file

@ -183,7 +183,7 @@ http {
}
}
location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets

View file

@ -183,7 +183,7 @@ http {
}
}
location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets

View file

@ -183,7 +183,7 @@ http {
}
}
location ~ \.woff2?$ {
location ~ \.(otf|woff2?)$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets