Skip to content

Commit

Permalink
Revert "http security headers"
Browse files Browse the repository at this point in the history
This reverts commit 56a56e7.
  • Loading branch information
MatthewHowardRSA123 committed Apr 26, 2024
1 parent 0cceb69 commit 8c68189
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nginx/conf.d/django.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ server {
proxy_set_header X-Forwarded-Ssl "";
proxy_pass http://gunicorn;
}

add_header X-Frame-Options SAMEORIGIN always;
add_header X-Content-Type-Options nosniff always;
add_header Strict-Transport-Security "max-age=31536000" always;
add_header Content-Security-Policy "default-src https: 'self';" always;
add_header Referrer-Policy "same-origin" always;
}

# redirect all requests with the prefix www. to the site without www
Expand Down

0 comments on commit 8c68189

Please sign in to comment.