w_ebua
Last Updated: February 25, 2016
·
292
· gregmolnar

Require www on Nginx

Without hardcoding the actual domain:

if ($host !~* ^www.(.)){
rewrite ^/(.
) http://www.$host/$1;
}

Awesome Job

Senior Javascript Developer
·
Remote / Zurich Switzerland
·
Full Time