github.com/manicqin/nomad@v0.9.5/dev/tls_cluster/server.hcl (about)

     1  # Increase log verbosity
     2  log_level = "DEBUG"
     3  
     4  region = "foo"
     5  
     6  # Setup data dir
     7  data_dir = "/tmp/server1"
     8  
     9  # Enable the server
    10  server {
    11    enabled = true
    12  
    13    # Self-elect, should be 3 or 5 for production
    14    bootstrap_expect = 1
    15  }
    16  
    17  tls {
    18    http = true
    19    rpc  = true
    20  
    21    ca_file   = "certs/nomad-ca.pem"
    22    cert_file = "certs/server.pem"
    23    key_file  = "certs/server-key.pem"
    24  
    25    verify_server_hostname = true
    26    verify_https_client    = true
    27  }