mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 12:01:37 +01:00
add: otf font to served files
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user