summaryrefslogtreecommitdiffstats
path: root/theos/nginx.sls
diff options
context:
space:
mode:
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