You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{%ifkeyval['zones'] isdefined%}{# 'keyval_zone' directive is only available in the 'http' context #}
133
+
{%ifkeyval['zones'] isdefined%}
134
134
{%forzoneinkeyval['zones'] %}
135
135
keyval_zone {{ 'zone=' + zone['name'] | string + ':' + zone['size'] | string }}{{ (' state=' + zone['state'] | string) if zone['state'] is defined }}{{ (' timeout=' + zone['timeout'] | string) if zone['timeout'] is defined }}{{ (' type=' + zone['type'] | string) if zone['type'] is defined and zone['type'] in ['string', 'ip', 'prefix'] }}{{ ' sync' if zone['sync'] is defined and zone['sync'] is boolean and zone['sync'] | bool }};
136
136
{%endfor%}
@@ -193,6 +193,38 @@ open_log_file_cache {{ 'off' if not log['open_log_file_cache'] else ('max=' + lo
193
193
194
194
{%endmacro%}
195
195
196
+
{# NGINX HTTP Map -- ngx_http_map_module #}
197
+
{%macromap(map) %}{# 'map' module is only available in the 'http' context #}
0 commit comments