issue with capturing server name
igor at sysoev.ru
Sun Dec 12 22:35:17 MSK 2010
On Sun, Dec 12, 2010 at 08:22:09PM +0100, Sven 'Darkman' Michels wrote:
> thanks for the quick reply.
> Am 12.12.2010 19:58, schrieb Igor Sysoev:
> > If you run nginx with debug log:
> > http://nginx.org/en/docs/debugging_log.html
> > you should see something like this:
> > http header: "Host: www.internal.mydonain.tld"
> > ...
> > http regex set $domain to "www"
> ok, debbuging enabled, but nothing with "regex" shows up. I'm getting
> 2010/12/12 20:10:37 [debug] 32080#0: *1 http header: "Host: www.internal.mydomain.tld"
> 2010/12/12 20:10:37 [debug] 32080#0: *1 http header done
> which seems to be ok so far, but no regex matching somewhere...
> Is there a need of some compiling options? nginx itself is liked against
> pcre lib, so it looks ok so far for me...
Do you request nginx via ipv4 or ipv6 ?
More information about the nginx