Commit c1518389 authored by Chris Hines's avatar Chris Hines
Browse files

add the headers for sv2

parent 5de2e908
Pipeline #12073 passed with stages
in 6 minutes and 25 seconds
......@@ -2,4 +2,10 @@ location ~ /.* {
root /opt/strudel2/spa/sv2/;
#alias /var/www/sv2/dist/sv2/;
try_files $uri$args $uri$args/ $uri/ /index.html;
add_header Content-Security-Policy "default-src 'self' *; style-src 'self' 'unsafe-inline'; font-src 'self'";
add_header Strict-Transport-Security "max-age=600; includeSubDomains" always;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options "nosniff";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment