瀏覽代碼

Merge pull request #175 from 9numbernine9/fix-dhparam-default

Add default value when calling pillar.get on nginx:ng:dhparam
master
Niels Abspoel 7 年之前
父節點
當前提交
dc292fb780
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      nginx/ng/certificates.sls

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

@@ -5,7 +5,7 @@ include:

{% set certificates_path = salt['pillar.get']('nginx:ng:certificates_path', '/etc/nginx/ssl') %}

{%- for dh_param, value in salt.pillar.get('nginx:ng:dh_param').items() %}
{%- for dh_param, value in salt['pillar.get']('nginx:ng:dh_param', {}).items() %}
{%- if value is string %}
create_nginx_dhparam_{{ dh_param }}_key:
file.managed:

Loading…
取消
儲存