Page MenuHomeDevCentral

D1926.id4866.diff
No OneTemporary

D1926.id4866.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
@@ -39,9 +39,7 @@
- context:
fqdn: {{ container['host'] }}
app_port: {{ container['app_port'] }}
- {% if 'aliases' in container %}
- aliases: {{ container['aliases']|join(" ") }}
- {% endif %}
+ aliases: {{ container['aliases'] | default('', true) | join(" ") }}
# If the nginx configuration needs more key,
# pass directly the container dictionary.
args: {{ container }}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 18:25 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2252893
Default Alt Text
D1926.id4866.diff (618 B)

Event Timeline