Skip to content

Commit

Permalink
fix newline
Browse files Browse the repository at this point in the history
  • Loading branch information
wozniakpl committed Apr 17, 2023
1 parent d366b6d commit 379e6cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ http {
{% endif %}
{% if CSP == 'true' %}
# check https://content-security-policy.com/ for more info
add_header Content-Security-Policy "default-src 'self' {{ env("CSP_DEFAULT_SRC", "") }}; script-src 'self' {{ env("CSP_SCRIPT_SRC", "") }}; style-src 'self' {{ env("CSP_STYLE_SRC", "") }}; img-src 'self' {{ env("CSP_IMG_SRC", "") }}; connect-src 'self' {{ env("CSP_CONNECT_SRC", "") }}; font-src 'self' {{ env("CSP_FONT_SRC", "") }}; object-src 'self' {{ env("CSP_OBJECT_SRC", "") }}; media-src 'self' {{ env("CSP_MEDIA_SRC", "") }}; frame-src 'self' {{ env("CSP_FRAME_SRC", "") }};
" always;
add_header Content-Security-Policy "default-src 'self' {{ env("CSP_DEFAULT_SRC", "") }}; script-src 'self' {{ env("CSP_SCRIPT_SRC", "") }}; style-src 'self' {{ env("CSP_STYLE_SRC", "") }}; img-src 'self' {{ env("CSP_IMG_SRC", "") }}; connect-src 'self' {{ env("CSP_CONNECT_SRC", "") }}; font-src 'self' {{ env("CSP_FONT_SRC", "") }}; object-src 'self' {{ env("CSP_OBJECT_SRC", "") }}; media-src 'self' {{ env("CSP_MEDIA_SRC", "") }}; frame-src 'self' {{ env("CSP_FRAME_SRC", "") }};" always;
{% endif %}
map $http_x_forwarded_proto $proxy_x_forwarded_proto {
default $http_x_forwarded_proto;
Expand Down

0 comments on commit 379e6cb

Please sign in to comment.