install_nextcloud.sh: add 'otf' files to location 'woff2?'.

This commit is contained in:
Christoph 2025-03-31 11:10:28 +02:00
parent 7242f1dfc6
commit 02084f7c2f

View File

@ -5185,7 +5185,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