From 09bf0a54d81ca2fe651d22df0fc60c8c5b1c2d4a Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 9 Apr 2020 16:30:22 -0400 Subject: [PATCH] add access control header --- docs/example.nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index ea8224c14..f6e163910 100644 --- a/docs/example.nginx.conf +++ b/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