Browse Source

add access control header

master
ansuz 9 months ago
parent
commit
09bf0a54d8
1 changed files with 1 additions and 0 deletions
  1. 1
      docs/example.nginx.conf

1
docs/example.nginx.conf

@ -54,6 +54,7 @@ server {
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-XSS-Protection "1; mode=block";
add_header X-Content-Type-Options nosniff;
add_header Access-Control-Allow-Origin "*";
# add_header X-Frame-Options "SAMEORIGIN";
# Insert the path to your CryptPad repository root here

Loading…
Cancel
Save