Skip to content

Commit 19ea626

Browse files
committed
Added extra configuration options dictionary to nginx.conf
1 parent 49b491c commit 19ea626

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

templates/nginx.conf.j2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ http {
9999
limit_req_zone $binary_remote_addr zone={{nginx_rate_limiting_zone_name}}:{{nginx_rate_limiting_backoff}} rate={{nginx_rate_limit}};
100100
{% endif %}
101101

102+
{% for config in nginx_extra_configurations %}
103+
{{config.name}} {{config.value}};
104+
{% endfor %}
105+
102106
include {{nginx_dir}}/conf.d/*.conf;
103107
include {{nginx_dir}}/sites-enabled/*;
104108
}

0 commit comments

Comments
 (0)