Browse Source

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 years ago
parent
commit
cc1b3ba1cc
1 changed files with 0 additions and 10 deletions
  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: