Welcome! Log In Create A New Profile

Advanced

Question about Vhost

morel
April 04, 2012 06:00AM
hy

i have installed nginx on my web server, i can run the configtest on
nginx.conf but i would want also check the configuration of my vhost .

When i try diverse handling like this

/usr/local/nginx/sbin/nginx -c -t
/etc/nginx/conf/vhosts-available/Site1.conf

all the time i get the same error

* nginx: [emerg] unknown directive "server" in
/usr/local/nginx/vhosts-available/Site1.conf
* nginx: configuration file
/usr/local/nginx/vhosts-available/rSite1.conf test failed


My question is do you know theyre is possibility to test vhost conf ?


Cordially

Oliver
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Question about Vhost

morel April 04, 2012 06:00AM

Re: Question about Vhost

Jonathan Matthews April 04, 2012 06:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready