aboutsummaryrefslogtreecommitdiff
path: root/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 649e7e8..205eb6d 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -224,6 +224,15 @@ in
enabled = true;
network_interface = "wg0";
};
+ tls = {
+ http = true;
+ rpc = true;
+ ca_file = "/var/lib/nomad/pki/nomad-ca.crt";
+ cert_file = "/var/lib/nomad/pki/nomad2021.crt";
+ key_file = "/var/lib/nomad/pki/nomad2021.key";
+ verify_server_hostname = true;
+ verify_https_client = true;
+ };
plugin = [
{
docker = [