浏览代码

Removing if statement around nginx.ng.certificates

Found the problem in that dh_param was set to an int but only a string
or a dictionary would work with the code
master
Nate Bohman 5 年前
父节点
当前提交
b29ebe9de7
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. +0
    -2
      nginx/ng/certificates.sls

+ 0
- 2
nginx/ng/certificates.sls 查看文件

@@ -30,7 +30,6 @@ generate_nginx_dhparam_{{ dh_param }}_key:
{%- endif %}
{%- endfor %}

{% if salt['pillar.get']('nginx:ng:certificates') is defined and salt['pillar.get']('nginx:ng:certificates') %}
{%- for domain in salt['pillar.get']('nginx:ng:certificates', {}).keys() %}

nginx_{{ domain }}_ssl_certificate:
@@ -52,4 +51,3 @@ nginx_{{ domain }}_ssl_key:
- service: nginx_service
{% endif %}
{%- endfor %}
{% endif %}

正在加载...
取消
保存