fix(provision): add multi hosts installation examples
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / pillars / letsencrypt_controller_configuration.sls
diff --git a/tools/salt-install/config_examples/multi_host/aws/pillars/letsencrypt_controller_configuration.sls b/tools/salt-install/config_examples/multi_host/aws/pillars/letsencrypt_controller_configuration.sls
new file mode 100644 (file)
index 0000000..68c8512
--- /dev/null
@@ -0,0 +1,18 @@
+---
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+### LETSENCRYPT
+letsencrypt:
+  domainsets:
+    __CLUSTER__.__DOMAIN__:
+      - __CLUSTER__.__DOMAIN__
+
+### NGINX
+nginx:
+  ### SNIPPETS
+  snippets:
+    __CLUSTER__.__DOMAIN___letsencrypt_cert.conf:
+      - ssl_certificate: /etc/letsencrypt/live/__CLUSTER__.__DOMAIN__/fullchain.pem
+      - ssl_certificate_key: /etc/letsencrypt/live/__CLUSTER__.__DOMAIN__/privkey.pem