Page MenuHomeDevCentral

D1926.diff
No OneTemporary

D1926.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
Sun, Jan 12, 01:01 (17 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2345956
Default Alt Text
D1926.diff (618 B)

Event Timeline