Skip to content

Commit

Permalink
Added extra configuration options dictionary to nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
lfrodrigues committed Jan 1, 2018
1 parent 49b491c commit 19ea626
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ http {
limit_req_zone $binary_remote_addr zone={{nginx_rate_limiting_zone_name}}:{{nginx_rate_limiting_backoff}} rate={{nginx_rate_limit}};
{% endif %}

{% for config in nginx_extra_configurations %}
{{config.name}} {{config.value}};
{% endfor %}

include {{nginx_dir}}/conf.d/*.conf;
include {{nginx_dir}}/sites-enabled/*;
}

0 comments on commit 19ea626

Please sign in to comment.