File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,9 @@ http {
156
156
add_header X-Content-Type-Options "nosniff";
157
157
add_header X-Frame-Options "SAMEORIGIN";
158
158
add_header X-XSS-Protection "1; mode=block";
159
+
159
160
add_header Content-Security-Policy "default-src 'self'; connect-src 'self' https://docs.rs https://<%= s3_host(ENV) %> ; script-src 'self' 'unsafe-eval' https://www.google.com https://www.gstatic.com; style-src 'self' 'unsafe-inline' https://www.google.com https://ajax.googleapis.com https://fonts.googleapis.com; font-src: https://fonts.gstatic.com; img-src *; object-src 'none'";
161
+ add_header Access-Control-Allow-Origin "*";
160
162
161
163
add_header Strict-Transport-Security "max-age=31536000" always;
162
164
add_header Vary 'Accept, Accept-Encoding, Cookie';
You can’t perform that action at this time.
0 commit comments