Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3755867
D1926.id4866.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
618 B
Referenced Files
None
Subscribers
None
D1926.id4866.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1926: Always set an aliases value to pass to nginx config template
Attached
Detach File
Event Timeline
Log In to Comment