how to handle "server_name" in intranet environment
Igor Sysoev
is at rambler-co.ru
Fri Sep 7 16:18:21 MSD 2007
On Fri, Sep 07, 2007 at 10:54:25AM +0000, Bert Douglas wrote:
> Igor Sysoev <is at ...> writes:
>
> > I forgot about optimize_server_names - by default if there is single
> > virtual host on given ip:port pair then nginx do not use server_name at all:
> >
> > server {
> > server_name _ *;
> > optimize_server_names off;
> >
>
> Added directive: optimize_server_names off;
> Result: Same as before.
Have you tried in browser or telnet and so ?
Browser may cache permanent redirect.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list