|
|
|
|
|
|
|
|
- clean: {{ nginx.servers.purge_servers_config }} |
|
|
- clean: {{ nginx.servers.purge_servers_config }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
|
|
|
|
|
|
# Manage the actual server files |
|
|
|
|
|
{% for server, settings in nginx.servers.managed.items() %} |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
|
|
|
# Managed enabled/disabled state for servers |
|
|
# Managed enabled/disabled state for servers |
|
|
{% for server, settings in nginx.servers.managed.items() %} |
|
|
{% for server, settings in nginx.servers.managed.items() %} |
|
|
{% set conf_state_id = 'server_conf_' ~ loop.index0 %} |
|
|
{% set conf_state_id = 'server_conf_' ~ loop.index0 %} |