X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/61d3aed1cd0286c7928167a84267c225938a37ec..e51ba73431f40cfcb6a8f2c80bb5373f23609fcd:/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_webshell_configuration.sls diff --git a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_webshell_configuration.sls b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_webshell_configuration.sls index d631c89a81..fb134cca9b 100644 --- a/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_webshell_configuration.sls +++ b/tools/salt-install/config_examples/multi_host/aws/pillars/nginx_webshell_configuration.sls @@ -3,6 +3,8 @@ # # SPDX-License-Identifier: AGPL-3.0 +{%- import_yaml "ssl_key_encrypted.sls" as ssl_key_encrypted_pillar %} + ### NGINX nginx: ### SERVER @@ -71,6 +73,9 @@ nginx: - include: snippets/ssl_hardening_default.conf - ssl_certificate: __CERT_PEM__ - ssl_certificate_key: __CERT_KEY__ + {%- if ssl_key_encrypted_pillar.ssl_key_encrypted.enabled %} + - ssl_password_file: {{ ssl_key_encrypted_pillar.ssl_key_encrypted.ssl_password_file | yaml_dquote }} + {%- endif %} - access_log: /var/log/nginx/webshell.__CLUSTER__.__DOMAIN__.access.log combined - error_log: /var/log/nginx/webshell.__CLUSTER__.__DOMAIN__.error.log