Skip to content
Snippets Groups Projects
Commit 3cd364f7 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Fix path to certificates

parent 01bd3781
No related branches found
No related tags found
No related merge requests found
......@@ -37,14 +37,14 @@ server {
ssl_session_timeout 5m;
ssl on;
ssl_certificate /root/certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.pem;
ssl_certificate_key /root/certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.key;
ssl_certificate /etc/hsh-certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.pem;
ssl_certificate_key /etc/hsh-certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.key;
# Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
ssl_dhparam /root/certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.dhparam.pem;
ssl_dhparam /etc/hsh-certs/{{ nginx_conf.get('ssl_cert_name', instance_name) }}.dhparam.pem;
{% if nginx_conf.client_ca is defined %}
ssl_verify_client on;
ssl_client_certificate /root/certs/{{ nginx_conf.get('ssl_cert_name'), instance_name }}
ssl_client_certificate /etc/hsh-certs/{{ nginx_conf.get('ssl_cert_name'), instance_name }}
{% endif %}
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment