diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-13 12:34:11 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-13 12:34:23 +0200 |
commit | f3df9e97c6bedd305133e860654fc0213c12fd6b (patch) | |
tree | 586fef2077cf3c499fc7dd6e802b9e00efe2d13f /data | |
parent | 986dcd3a581085eb22207985cba03e03ad84f3d1 (diff) | |
download | vyos-1x-f3df9e97c6bedd305133e860654fc0213c12fd6b.tar.gz vyos-1x-f3df9e97c6bedd305133e860654fc0213c12fd6b.zip |
nginx: T3740: use bracketize_ipv6 Jinja2 filter on server address
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/https/nginx.default.tmpl | 2 |
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 %} |