about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/nginx.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index 60987fa..2927af8 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -15,7 +15,7 @@ server {
   listen 80;
 {% endif %}
   listen 443 ssl http2;
-  server_name {{ server.name }};
+  server_name {{ server.name }} {{server.aliases|default([])| join(' ')}};
 
   location / {