diff options
author | John Estabrook <jestabro@vyos.io> | 2020-02-21 16:46:33 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-02-21 16:46:33 -0600 |
commit | ceb4031b7647de742be078918085732783fad78d (patch) | |
tree | db70ca0af24c65e64e7a2911b41efff823e0d5d2 /src/conf_mode | |
parent | 477d056768eb61b38f5236a8a2fdf4ff43b71fd0 (diff) | |
download | vyos-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')
-rwxr-xr-x | src/conf_mode/https.py | 4 |
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 %} |