issue with capturing server name

Sven 'Darkman' Michels sven at darkman.de
Sun Dec 12 22:22:09 MSK 2010


Hi,

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...

Regards,
Sven



More information about the nginx mailing list