issue with capturing server name
Sven 'Darkman' Michels
sven at darkman.de
Sun Dec 12 23:05:49 MSK 2010
Hi,
Am 12.12.2010 20:59, schrieb Igor Sysoev:
>> plenty but i got it. You're right with the v4/v6 thing. It works if i use v4
>> only (e.g. just a "listen 80;" in the config). So i would say its a bug?
>
> Do you have "listen" directives with specific addresses ?
> How do other "listen" directives look ?
nope, its just a very small test config.
works:
server {
listen 80;
server_name ~^(?<domain>.+)\.internal\.mydomain\.tld$;
...
}
doesn't:
server {
listen [::]:80 default ipv6only=off;
server_name ~^(?<domain>.+)\.internal\.mydomain\.tld$;
...
}
nothing else changed.
HTH,
Sven
More information about the nginx
mailing list