how to add virtualhosts in nginx?

António P. P. Almeida appa at
Wed Sep 22 11:10:40 MSD 2010

On 22 Set 2010 07h21 WEST, marceloramone at wrote:

> Thank you António,
> I saw this example before.
> I saw many examples, but does not work.
> I get always nginx default html page or 404...

Then there's something wrong with your configuration. Perhaps the root
directive or a/the location block. This is guessing. It's much better
if you place the config here, so that we can help you debug it.

--- appa

More information about the nginx mailing list