> The problem is, whatever URL I put in the browser, it redirects to > https://trisect.uk _______________________________________________
> server_name trisect.uk *.trisect.uk; > return 301 https://$server_name$request_uri; } For that I don't think you can use $server_name here because it will always be the first one picked no matter if the client passes site1.trisect.uk in Host header. Try with return 301 https://$host$request_uri; rr _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx