nginx unknown directive "server"

1 post / 0 new
#1 Tue, 04/02/2013 - 12:27
jshg46

nginx unknown directive "server"

Failed to save configuration file : Configuration is invalid : nginx: [emerg] unknown directive "server" in /etc/nginx/nginx.conf:13 nginx: configuration file /etc/nginx/nginx.conf test failed

I created a new site inside of Virtualmin. The error above occurred when it was listing the new stuff it had created. Any idea why it is doing this? I looked in the nginx.conf and noticed my second domain was on top of the first domain. This is where the problem I think is coming from.