浏览代码

nginx: As dhparams as stored within /etc/ssl they are generated be certs state now.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 6 年之前
父节点
当前提交
cc1b3ba1cc
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      nginx/init.sls

+ 0 - 10
nginx/init.sls

@@ -19,16 +19,6 @@ nginx:
     - watch:
       - cmd: nginx-configtest
 
-# generate custom DH parameters
-{% if grains['saltversion'] >= '2014.7.0' %}
-nginx-dhparam:
-  cmd.run:
-    - name: openssl dhparam -out /etc/ssl/dhparam.pem 4096
-    - creates: /etc/ssl/dhparam.pem
-    - require_in:
-      - serivce: nginx
-{% endif %}
-
 # Add cache directory
 nginx-cache:
   file.directory: