This very quick and easy solution will help you redirect WWW to non-WWW in NGINX with VestaCP.
This very quick and easy solution will help you redirect WWW to non-WWW in NGINX with VestaCP.
Very simple trick here, but has a few people at a road block. If you’re running NGINX on VestaCP then the following will redirect all HTTP traffic to HTTPS traffic. Just make sure you’ve got a SSL certificate set-up and working. (more…)