Browse Source

Added explanations for security headers

main
Ravi Shah 5 years ago
parent
commit
63e15fe047
  1. 10
      subdomain-proxy.conf

10
subdomain-proxy.conf

@ -46,11 +46,11 @@ server {
# Set the security headers # Set the security headers
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
add_header X-Frame-Options DENY;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Referrer-Policy "origin";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; #HSTS
add_header X-Frame-Options DENY; #Prevents clickjacking
add_header X-Content-Type-Options nosniff; #Prevents mime sniffing
add_header X-XSS-Protection "1; mode=block"; #Prevents cross-site scripting attacks
add_header Referrer-Policy "origin"; #Idk what this actually does";
} }
} }
Loading…
Cancel
Save