fix(admin): Document oft loading for nginx

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling
2024-10-11 08:42:25 +02:00
committed by backportbot[bot]
parent 4395499a04
commit 78770c195c
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ server {
access_log off; # Optional: Don't log access to assets
}
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

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