From ece9c6b4516833f95e5432b963c77d5bd261adcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Thu, 16 May 2019 22:58:45 +0200 Subject: [PATCH] Use generic `$host` instead of host name --- test/vhosts/www-server.localhost.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vhosts/www-server.localhost.conf b/test/vhosts/www-server.localhost.conf index 3131a4c..b4f9d61 100644 --- a/test/vhosts/www-server.localhost.conf +++ b/test/vhosts/www-server.localhost.conf @@ -4,5 +4,5 @@ server { server_name www-server.localhost; - return 301 $scheme://www.www-server.localhost$request_uri; + return 301 $scheme://www.$host$request_uri; }