Skip to content

Commit

Permalink
Fix 'always' behavior for security headers
Browse files Browse the repository at this point in the history
  • Loading branch information
medanthelinium committed Oct 27, 2023
1 parent 57c9061 commit cf8fa6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/include/security_headers.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for i in nginx_security_headers_merged %}
add_header {{ i['header'] }} "{{ i['value'] }}" {% if i['always'] %}always{% endif %};
add_header {{ i['header'] }} "{{ i['value'] }}"{% if i['always'] | default(False) %} always{% endif %};
{% endfor %}

0 comments on commit cf8fa6f

Please sign in to comment.