Skip to content

Commit

Permalink
add xss protection header (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc authored Jan 5, 2024
1 parent 1de9c55 commit ed18918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ server {
add_header Strict-Transport-Security "max-age=2592000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Content-Security-Policy "connect-src 'self' ws: wss: https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://*.tacc.utexas.edu" always;
add_header X-XSS-Protection "1; mode=block" always;

location /media {
alias /var/www/portal/cms/media;
Expand Down

0 comments on commit ed18918

Please sign in to comment.