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

Update cache policy to match documentation

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-10-13 13:27:27 +00:00
parent 178f8b65d3
commit 0ee1f1e7b3
2 changed files with 2 additions and 2 deletions

View file

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