Skip to content

Commit

Permalink
Merge pull request #9 from wozniakpl/fix_newline
Browse files Browse the repository at this point in the history
Fix newline added by mistake
  • Loading branch information
ironhalik committed Apr 17, 2023
2 parents d366b6d + 379e6cb commit c3ebc8f
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 c3ebc8f

Please sign in to comment.