problem with vhost

Maxim Dounin mdounin at mdounin.ru
Fri Nov 13 03:39:40 MSK 2009


Hello!

On Thu, Nov 12, 2009 at 06:49:24PM -0500, Varix wrote:

> hallo,
> 
> I have this problem: I can only show domain1 index.html file with browser adress and title.
> 
> The domain2 and domain3 show's the index.html of the default index.html file.
> But the browser adress and title are OK with IE 8.
> 
> With Firefox domain2 and domain3 show's the index.html of the domain1 index.html file.
> And also the browser adress and title are OK.

[...]

> 
>     gzip  on;
>     gzip_comp_level 2;
>     gzip_proxied any;
>     gzip_types      text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
> 
> 	Server_token on;

You can't start nginx with such config, it will complain by 
something like this:

[emerg]: unknown directive "Server_token" in /path/to/nginx.conf:<line>

Either you have other configuration in use or no nginx at all.

Maxim Dounin





More information about the nginx mailing list