@@ -28,7 +28,7 @@ server {
root /var/www/html;
}
- return 301 https://example.com$request_uri;
+ return 301 https://$server_name$request_uri;