From e4f15849a37c459b6abd4bfb4a709755b24063c1 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 23 Nov 2020 20:07:07 +0100 Subject: [PATCH] Add the aliases in the http section of the virtualhost too. --- templates/nginx_wordpress.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nginx_wordpress.conf.j2 b/templates/nginx_wordpress.conf.j2 index 0f5a042..52da128 100644 --- a/templates/nginx_wordpress.conf.j2 +++ b/templates/nginx_wordpress.conf.j2 @@ -9,7 +9,7 @@ upstream wp { server { listen {{ http_port }}; ## Your website name goes here. - server_name {{ item.virthost }}; + server_name {{ item.virthost }} {{ item.virthost_aliases }}; ## Your only path reference. root {{ item.doc_root }}; -- 2.17.1