aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel.to.malpa@gmail.com>2020-03-13 22:50:53 +0100
committerPaweł Dybiec <pawel.to.malpa@gmail.com>2020-03-13 22:50:53 +0100
commitd4167c248409515c10b1e92fb3eaa938e5fe4788 (patch)
tree3238b5fa04a6561c3cfa628fd28e31703cfc646f /templates
parentMake vpn restart always (diff)
Add support for multiple aliases
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 / {