mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-27 07:58:26 +01:00
Update cache policy to match documentation
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
178f8b65d3
commit
0ee1f1e7b3
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue