2023-04-10 15:36:59 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2017-08-29 21:33:19 +00:00
|
|
|
# Increase log verbosity
|
|
|
|
log_level = "DEBUG"
|
|
|
|
|
|
|
|
region = "foo"
|
|
|
|
|
|
|
|
# Setup data dir
|
|
|
|
data_dir = "/tmp/server1"
|
|
|
|
|
|
|
|
# Enable the server
|
|
|
|
server {
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
# Self-elect, should be 3 or 5 for production
|
|
|
|
bootstrap_expect = 1
|
|
|
|
}
|
|
|
|
|
|
|
|
tls {
|
|
|
|
http = true
|
|
|
|
rpc = true
|
|
|
|
|
2023-03-20 16:06:15 +00:00
|
|
|
ca_file = "certs/nomad-agent-ca.pem"
|
|
|
|
cert_file = "certs/foo-server-nomad.pem"
|
|
|
|
key_file = "certs/foo-server-nomad-key.pem"
|
2017-08-29 21:33:19 +00:00
|
|
|
|
|
|
|
verify_server_hostname = true
|
|
|
|
verify_https_client = true
|
|
|
|
}
|