Hello,
I'm using Hiawatha on Webfaction hosting where it runs behind reverse-proxy (nginx) and trying to configure non-www redirects at the Hiawatha side to avoid using things like
this [docs.webfaction.com].
In the past I was using redirect-rule similar to:
UrlToolkit {
ToolkitID = www_redirect_
Match ^/(.*) Redirect http://www.domain.tld/$1
}
and it work(ed)s. :-)
Now, I wanted to take advantage of:
VirtualHost {
HostName = www.domain.tld, domain.tld
EnforceFirstHostname = yes
...
}
but it seems it does not work when Hiawatha is behind reverse-proxy or I do miss something in my setup?