File tree Expand file tree Collapse file tree
roles/configure_nginx/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ### v0.13.4
2+
3+ ##### Bugfixes
4+ - Bugfix deployment scripts ([ #626 ] ( https://github.com/Code-Poets/sheetstorm/pull/626 ) )
5+
6+
7+
18### v0.13.3
29
310##### Features
Original file line number Diff line number Diff line change 99 roles :
1010 - { role: maintenance_mode, maintenance_mode: enable }
1111 - configure_sheetstorm_environment
12+ - configure_nginx
1213 - { role: maintenance_mode, maintenance_mode: disable }
Original file line number Diff line number Diff line change @@ -11,4 +11,4 @@ add_header X-XSS-Protection "1; mode=block";
1111add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
1212
1313# Add Content Security Policy header that defines from which sources, browser can download content.
14- add_header Content-Security-Policy "base-uri 'self'; form-action 'self'; default-src 'none'; script-src 'self' {% for source in content_security_policy_header .allow_script_sources %} {{ source }} {% endfor %} ; connect-src 'self'; img-src 'self' {% for source in content_security_policy_header .allow_image_sources %} {{ source }} {% endfor %} ; font-src 'self' {% for source in content_security_policy_header .allow_font_sources %} {{ source }} {% endfor %} ; style-src 'self' {% for source in content_security_policy_header .allow_stylesheet_sources %} {{ source }} {% endfor %} ; object-src 'none'; frame-ancestors 'none';" always;
14+ add_header Content-Security-Policy "base-uri 'self'; form-action 'self'; default-src 'none'; script-src 'self' 'unsafe-inline' {% for source in content_security_policy_header .allow_script_sources %} {{ source }} {% endfor %} ; connect-src 'self'; img-src 'self' {% for source in content_security_policy_header .allow_image_sources %} {{ source }} {% endfor %} ; font-src 'self' {% for source in content_security_policy_header .allow_font_sources %} {{ source }} {% endfor %} ; style-src 'self' 'unsafe-inline ' {% for source in content_security_policy_header .allow_stylesheet_sources %} {{ source }} {% endfor %} ; object-src 'none'; frame-ancestors 'none';" always;
You can’t perform that action at this time.
0 commit comments