summaryrefslogtreecommitdiffstats
path: root/theos/nginx.sls
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-21 11:52:12 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-21 11:52:12 +0000
commit9567684225ab2697bb6f9b2b6e63b724876c0256 (patch)
tree07dca4a01de1356516e708740cf2583661aa450c /theos/nginx.sls
downloadfile-9567684225ab2697bb6f9b2b6e63b724876c0256.tar.xz
Initial commit
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/nginx.sls')
-rw-r--r--theos/nginx.sls13
1 files changed, 13 insertions, 0 deletions
diff --git a/theos/nginx.sls b/theos/nginx.sls
new file mode 100644
index 0000000..51bfae6
--- /dev/null
+++ b/theos/nginx.sls
@@ -0,0 +1,13 @@
+include:
+ - nginx.ng
+
+dhparam:
+ file.managed:
+ - name: /etc/nginx/dhparam.pem
+ - source: salt://theos/files/dhparam.pem
+ - require:
+ - pkg: nginx_install
+ - require_in:
+ - service: nginx_service
+ - watch_in:
+ - service: nginx_service