Clean mysql stunnel config
This commit is contained in:
parent
8650ab973a
commit
2a1a7fb6b7
@ -107,7 +107,6 @@ foreground = yes
|
||||
delay = yes
|
||||
|
||||
[mysql_server]
|
||||
|
||||
accept = {{ env "NOMAD_PORT_tls" }}
|
||||
connect = 127.0.0.1:3306
|
||||
ciphers = PSK
|
||||
@ -121,7 +120,7 @@ PSKsecrets = {{ env "NOMAD_SECRETS_DIR" }}/stunnel_psk.txt
|
||||
{{ with nomadVar "nomad/jobs/mysql-server" -}}
|
||||
{{ .allowed_psks }}
|
||||
{{- end }}
|
||||
EOF
|
||||
EOF
|
||||
destination = "${NOMAD_SECRETS_DIR}/stunnel_psk.txt"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user