commit 35a401fbac0c9382343159b9618881457e6d28c5
parent fb219e0ac6944cab2a6aef4f4ac6afe967166f17
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Mon, 24 Jan 2022 22:31:08 +0100
update api_addr
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vault.sh b/vault.sh
@@ -87,9 +87,9 @@ listener "tcp" {
# https://www.vaultproject.io/docs/concepts/ha#client-redirection
# API_ADDR for client redirection (fallback, if request forwarding is disabled)
-api_addr = "https://127.0.0.1:8200"
+api_addr = "https://$HOSTNAME:8200"
# CLUSTER_ADDR: Vault listens for server-to-server cluster requests
-cluster_addr = "https://127.0.0.1:8201"
+cluster_addr = "https://$HOSTNAME:8201"
storage "consul" {
address = "https://127.0.0.1:8501"