Private
Public Access
2
0

consul: activate https

This commit is contained in:
2026-02-12 14:37:42 +01:00
parent f80735417b
commit 5eeb74d53e
5 changed files with 21 additions and 17 deletions

View File

@@ -22,15 +22,17 @@
"verify_server_hostname": true
}
},
"addresses": {
"http": "127.0.0.1",
"https": "0.0.0.0"
},
"ports": {
"https": 8501
},
{% if consul_server %}
"server": true,
"leave_on_terminate": true,
"bind_addr": "{{ consul_bind_addr }}",
{#
"addresses": {
"https": "{{ consul_client_addr }}"
},
#}
"bootstrap_expect": {{ consul_servers | length }},
"ui_config": {
"enabled": {{ (consul_ui_secret_id != None) | ternary('true', 'false') }}