Skip to content

Commit

Permalink
fixes csp for recaptcha #292
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Mar 24, 2020
1 parent bd1445a commit 10527f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packaging/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data:;";
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/; frame-src https://www.google.com/recaptcha/";
server_tokens off;

server {
location / {
Expand Down

0 comments on commit 10527f0

Please sign in to comment.