Skip to content

Commit

Permalink
Remove obsolete/uneeded headers suggested by code review
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioheleno committed Jul 26, 2022
1 parent 8212c69 commit a66c112
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ server {
try_files $uri /index.php$is_args$args;

# security headers
add_header X-XSS-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-referrer-when-downgrade" always;
add_header Content-Security-Policy "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
add_header Permissions-Policy "interest-cohort=()" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;

location ~* \.(css|png|ico|webmanifest|eot|svg|ttf|woff|woff2|txt)$ {
Expand Down

0 comments on commit a66c112

Please sign in to comment.