From 312a5e40533b9e575b33237bdac48c01bc1080fe Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Sun, 24 Sep 2023 11:10:59 +0300 Subject: [PATCH] remove dupe aliases --- templates/vhost.conf.j2 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index 045a3df..e2915cb 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -10,10 +10,6 @@ ServerAlias {% for alias in item.server_aliases %}{{ alias }} {% endfor %} {% endif %} -{% if item.server_aliases is defined %} - ServerAlias {% for alias in item.server_aliases %}{{ alias }} {% endfor %} -{% endif %} - {% if item.aliases is defined %}{% for alias in item.aliases %} Alias /{{ alias.dest }} "{{ alias.src }}" {% endfor %}{% endif %}