File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/profile/templates/gruntjscom Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,13 @@ server {
12
12
error_log /var/log/nginx/error.log crit;
13
13
server_tokens off;
14
14
15
- # Add Content Security Policy headers
16
- add_header Content-Security-Policy-Report-Only "default-src 'self'; script-src 'self' code.jquery.com; connect-src 'self'; img-src 'self'; style-src 'self'; report-to https://csp-report-api.openjs-foundation.workers.dev/";
17
-
18
15
location / {
19
16
proxy_pass http://localhost:<%= @backend_port %> ;
20
17
proxy_redirect off;
21
18
proxy_buffering off;
19
+
20
+ # Add Content Security Policy headers
21
+ add_header Content-Security-Policy-Report-Only "default-src 'self'; script-src 'self' code.jquery.com; connect-src 'self'; img-src 'self'; style-src 'self'; report-to https://csp-report-api.openjs-foundation.workers.dev/" always;
22
22
}
23
23
24
24
location /.well-known/acme-challenge {
You can’t perform that action at this time.
0 commit comments