Skip to content
This repository has been archived by the owner on Aug 21, 2022. It is now read-only.

Commit

Permalink
fix: nginx_extra_conf_options evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Dec 19, 2020
1 parent 64b5f9f commit 8ba569c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions tasks/main.yml

This file was deleted.

4 changes: 3 additions & 1 deletion templates/nginx/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ worker_processes {{ nginx_worker_processes }};
{% endblock %}

{% if nginx_extra_conf_options %}
{{ nginx_extra_conf_options }}
{% for k,v in nginx_extra_conf_options.items() %}
{{ k }} {{ v }};
{% endfor %}
{% endif %}

{% block events %}
Expand Down

0 comments on commit 8ba569c

Please sign in to comment.