summaryrefslogtreecommitdiff
path: root/src/conf_mode/https.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-02-21 16:46:33 -0600
committerJohn Estabrook <jestabro@vyos.io>2020-02-21 16:46:33 -0600
commitceb4031b7647de742be078918085732783fad78d (patch)
treedb70ca0af24c65e64e7a2911b41efff823e0d5d2 /src/conf_mode/https.py
parent477d056768eb61b38f5236a8a2fdf4ff43b71fd0 (diff)
downloadvyos-1x-ceb4031b7647de742be078918085732783fad78d.tar.gz
vyos-1x-ceb4031b7647de742be078918085732783fad78d.zip
[service https] T1443: bug: set HTTPS listen port for listen-address '*'
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-xsrc/conf_mode/https.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 5d90b2b53..d8e78c6cd 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -47,8 +47,8 @@ server {
# SSL configuration
#
{% if server.address == '*' %}
- listen 443 ssl;
- listen [::]:443 ssl;
+ listen {{ server.port }} ssl;
+ listen [::]:{{ server.port }} ssl;
{% else %}
listen {{ server.address }}:{{ server.port }} ssl;
{% endif %}