Commit e5596c19 authored by Valentin Samir's avatar Valentin Samir

[config/proxy] Macro certificats pour crans.eu

parent 2564ac91
......@@ -51,6 +51,11 @@ def server_name_to_cert_name(serveur):
return "hostnames-a-m.crans.fr"
else:
return "hostnames-n-z.crans.fr"
elif serveur.endswith(".crans.eu") or serveur == "crans.eu":
if serveur[0] <= 'm' and serveur != "hostnames-n-z.crans.eu":
return "hostnames-a-m.crans.eu"
else:
return "hostnames-n-z.crans.eu"
site_template = """server {
......
Markdown is supported
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