summaryrefslogtreecommitdiff
path: root/data/templates/https/nginx.default.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/https/nginx.default.tmpl')
-rw-r--r--data/templates/https/nginx.default.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index b40ddcc74..2f8aa06c2 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -17,7 +17,7 @@ server {
listen {{ server.port }} ssl;
listen [::]:{{ server.port }} ssl;
{% else %}
- listen {{ server.address }}:{{ server.port }} ssl;
+ listen {{ server.address | bracketize_ipv6 }}:{{ server.port }} ssl;
{% endif %}
{% for name in server.name %}