This repository was archived by the owner on Aug 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 __nginx_user : " stackhead"
2323 root_group : " stackhead"
2424 nginx_extra_conf_options : " {{ module.config.extra_conf_options|default({}) }}"
25+ nginx_extra_conf_http_options : " {{ module.config.extra_conf_http_options|default({}) }}"
2526 include_role :
2627 name : geerlingguy.nginx
2728- name : adjust owner of /var/www directories
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ events {
2525{% endblock %}
2626
2727http {
28+ {% if nginx_extra_conf_http_options %}
29+ {% for k ,v in nginx_extra_conf_http_options .items () %}
30+ {{ k }} {{ v }};
31+ {% endfor %}
32+ {% endif %}
33+
2834{% block http_begin %}
2935 # Enable gzip compression.
3036 include /etc/nginx/h5bp/web_performance/compression.conf;
You can’t perform that action at this time.
0 commit comments