Skip to content

Commit

Permalink
Merge pull request #12274 from nextcloud/backport/12273/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(admin): Document oft loading for nginx
  • Loading branch information
nickvergessen authored Oct 11, 2024
2 parents f642282 + 9c332e1 commit e68eaa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin_manual/installation/nginx-root.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion admin_manual/installation/nginx-subdir.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e68eaa5

Please sign in to comment.