diff options
author | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2020-03-13 22:50:53 +0100 |
---|---|---|
committer | Paweł Dybiec <pawel.to.malpa@gmail.com> | 2020-03-13 22:50:53 +0100 |
commit | d4167c248409515c10b1e92fb3eaa938e5fe4788 (patch) | |
tree | 3238b5fa04a6561c3cfa628fd28e31703cfc646f /templates | |
parent | Make vpn restart always (diff) |
Add support for multiple aliases
Diffstat (limited to 'templates')
-rw-r--r-- | templates/nginx.conf.j2 | 2 |
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 / { |