Tweaking $host value

Thomas iamkenzo at gmail.com
Thu Sep 18 23:33:23 MSD 2008


I'm feeling lucky: http://wiki.codemongers.com/NginxHttpRewriteModule

The page has an example that does exactly what I needed:
$host_without_www. And at the same time I understand better how the
variables work, how rewriting works and how to create new variables.





More information about the nginx mailing list