We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f287c commit 61b251dCopy full SHA for 61b251d
templates/nginx.conf.j2
@@ -10,6 +10,13 @@ user www www;
10
worker_processes {{ ansible_processor_count }};
11
pid /var/run/nginx.pid;
12
13
+{% if nginx_extra_global_vars is defined %}
14
+# Extra global vars for Nginx
15
+{% for k,v in nginx_extra_global_vars.iteritems() %}
16
+{{ k }} {{ v }};
17
+{% endfor %}
18
+{% endif %}
19
+
20
events {
21
worker_connections {{ nginx_max_clients }};
22
}
0 commit comments