Welcome! Log In Create A New Profile

Advanced

Re: problem with vhost

Maxim Dounin
November 12, 2009 07:42PM
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
Subject Author Posted

problem with vhost

Varix November 12, 2009 06:49PM

Re: problem with vhost

Maxim Dounin November 12, 2009 07:42PM

Re: problem with vhost

Varix November 12, 2009 08:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready