mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-09 03:58:33 +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
|
# Adding the cache control header for js, css and map files
|
||||||
# Make sure it is BELOW the PHP block
|
# 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;
|
try_files $uri /index.php$request_uri;
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
|
|||||||
Reference in New Issue
Block a user