Enable h2 in production

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-11-22 15:02:14 +00:00
parent ad84229ae3
commit de010afa89
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
{% if env == "staging" and ansible_distribution == 'Fedora' %}
{% if ansible_distribution == 'Fedora' %}
Protocols h2 {% if not inventory_hostname.startswith('proxy') %} h2c {% endif %} http/1.1
{% endif %}

View file

@ -32,7 +32,7 @@
{% endif %}
ServerAdmin {{ server_admin }}
{% if env == "staging" %}
{% if ansible_distribution == 'Fedora' %}
Protocols h2 http/1.1
{% endif %}