hey fellas,
I`m trying out nginx for the first time and its a bit tricky for me to get the .vhost config right for the webshop system I`m using.
Testwise I did setup a server with ngnix 1.0 and ispconfig 3
to test if the webshop system I`m using runs faster with nginx.
unfortunately I dont get the .vhost config right and nginix wont start up with this error:
Restarting nginx: nginx: [emerg] "location" directive is not allowed here in /etc/nginx/sites-enabled/100-snow2011.co.cc.vhost:81
nginx: configuration file /etc/nginx/nginx.conf test failed
my problem here is, that the exact line with the error in "location" section is not shown
and since there are so many "location" sections in the file, I cannot figure out which one mis producing the error.
I attached my .vhost test config file. I hope someone sees the error here as I really would like to use nginx instead of apache2.
Hostsystem is an ubuntu 11.10 server with nginx 1.0.5-1 and ispconfig 3.0.4.1
Edited 1 time(s). Last edit at 11/27/2011 05:28AM by svizzera.
Attachments:
open |
download -
100-snow2011.co.cc.vhost
(3.7 KB)