install_nextcloud.sh: add 'otf' files to location 'woff2?'.
This commit is contained in:
parent
7242f1dfc6
commit
02084f7c2f
@ -5185,7 +5185,7 @@ server {
|
|||||||
access_log off; # Optional: Don't log access to assets
|
access_log off; # Optional: Don't log access to assets
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user