diff options
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-x | src/conf_mode/https.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py index 5d90b2b53..84d1a7691 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 %} @@ -96,6 +96,7 @@ server { default_server_block = { 'address' : '*', + 'port' : '443', 'name' : ['_'], 'api' : {}, 'vyos_cert' : {}, |