mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-10-19 03:24:04 +07:00
Drop Jessie support
This commit is contained in:
1 parent
91ca31e676
commit
5ed17149e5
12 files changed
+6
-45
No files matched your search
@@ -83,7 +83,7 @@ server {
|
||||
{% block template_headers %}
|
||||
# --> Custom headers
|
||||
{% for key, value in __headers.iteritems() %}
|
||||
add_header {{ key }} "{{ value | replace(' always', '') }}"{% if nginx_version.stdout is version('1.7.5', 'ge') and ' always' in value %} always{% endif %};
|
||||
add_header {{ key }} "{{ value }}";
|
||||
{% endfor %}
|
||||
# <-- Custom headers
|
||||
{% endblock %}
|
||||
|
||||
Reference in new issue
Block a user