diff --git a/conf/nginxsite b/conf/nginxsite index 67f32cb..743f62e 100644 --- a/conf/nginxsite +++ b/conf/nginxsite @@ -14,7 +14,7 @@ server { deny all; location @denied { - return 301 https://$host$request_uri; + return 301 https://$server_name$request_uri; } location / {