add: otf font to served files

This commit is contained in:
2024-12-23 12:43:07 +00:00
parent dcdb52c047
commit c772760646

View File

@@ -117,7 +117,7 @@ server {
# Adding the cache control header for js, css and map files
# Make sure it is BELOW the PHP block
location ~ \.(?:css|mjs|js|woff2?|svg|gif|map)$ {
location ~ \.(?:css|mjs|js|otf|woff2?|svg|gif|map)$ {
try_files $uri /index.php$request_uri;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";