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
Sun, Nov 24, 06:06 (10 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2258412
Default Alt Text
D1477.id3785.diff (522 B)

Event Timeline