Commit f810fff7 authored by HgO's avatar HgO
Browse files

rename haproxy certificates

parent 507354cc
Pipeline #420 passed with stage
in 1 minute and 35 seconds
......@@ -35,7 +35,7 @@ if not result:
domain = result.group(1)
# Define a path for HAproxy where you want to write the .pem file.
deploy_path="/etc/haproxy/ssl/" + domain + ".pem"
deploy_path="/etc/haproxy/ssl/" + domain.replace('.', '-') + ".pem"
# The source files can be found in below paths, constructed with the lineage
# path
......
......@@ -12,7 +12,8 @@
## Prefix your entry with 'file://' if you intend to use relative paths
sources = [
{% for domain in letsencrypt.domains_gandi %}
"/etc/haproxy/ssl/{{ domain }}.pem",
"/etc/haproxy/ssl/{{ domain }}-ecdsa.pem"{% if not loop.last %},{% endif %}
"/etc/haproxy/ssl/{{ domain | replace('.', '-') }}.pem",
"/etc/haproxy/ssl/{{ domain | replace('.', '-') }}-ecdsa.pem"{% if not loop.last %},{% endif %}
{% endfor %}
]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment