diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index d91d669..b2d53a5 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -55,6 +55,8 @@ server { root /var/www/default; } - return 301 https://$host$request_uri; + location / { + return 301 https://$host$request_uri; + } }