Przeglądaj źródła

Changing Nginx NG to Check for Certificates

Still getting an error message when attempting to apply Nginx.NG
master
Nate Bohman 5 lat temu
rodzic
commit
203532c122
1 zmienionych plików z 2 dodań i 0 usunięć
  1. +2
    -0
      nginx/ng/certificates.sls

+ 2
- 0
nginx/ng/certificates.sls Wyświetl plik

@@ -30,6 +30,7 @@ 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:
@@ -51,3 +52,4 @@ nginx_{{ domain }}_ssl_key:
- service: nginx_service
{% endif %}
{%- endfor %}
{% endif %}

Ładowanie…
Anuluj
Zapisz