Page MenuHomeDevCentral

D1477.id3785.diff
No OneTemporary

D1477.id3785.diff

diff --git a/roles/paas-docker/nginx/config.sls b/roles/paas-docker/nginx/config.sls
--- a/roles/paas-docker/nginx/config.sls
+++ b/roles/paas-docker/nginx/config.sls
@@ -27,6 +27,7 @@
# -------------------------------------------------------------
{% for container, args in containers.items() %}
+{% if 'host' in args %}
{{ dirs.etc }}/nginx/vhosts/{{ container }}.conf:
file.managed:
@@ -37,4 +38,5 @@
fqdn: {{ args['host'] }}
app_port: {{ args['app_port'] }}
+{% endif %}
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 15:50 (53 m, 37 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2312733
Default Alt Text
D1477.id3785.diff (522 B)

Event Timeline