Skip to content
Snippets Groups Projects
Verified Commit a4ebea19 authored by Axel Bocciarelli's avatar Axel Bocciarelli
Browse files

Fix missing line return in nginx config

parent 6b2d3cdf
No related branches found
Tags 1.46.0
No related merge requests found
Pipeline #227335 passed
...@@ -24,7 +24,8 @@ server { ...@@ -24,7 +24,8 @@ server {
# Security headers # Security headers
add_header Strict-Transport-Security "max-age=31536000" always; # force browser to switch to HTTPS (for 1 year) add_header Strict-Transport-Security "max-age=31536000" always; # force browser to switch to HTTPS (for 1 year)
add_header X-Content-Type-Options "nosniff"; # prevent MIME type sniffing (i.e. believe `Content-Type` specified by server) } add_header X-Content-Type-Options "nosniff"; # prevent MIME type sniffing (i.e. believe `Content-Type` specified by server)
}
location ~* \.(?:css|js)$ { location ~* \.(?:css|js)$ {
add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Origin' '*';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment