Nginx [emerg] “server” directive is not allowed here
Nginx [emerg] “server” directive is not allowed here I'm coming with problem with NGinx - probably it's my fault somewhere but I can't find solution. I made custom vhost block in DEFAULT nginx config. And I don't know if it's problem of that and I should do custom vhost in other file in "sites-available" or it's possible in this nginx config. I'm struggling with that error: [root@openvpn etc]# nginx -t nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:69 nginx: configuration file /etc/nginx/nginx.conf test failed Here it's my nginx.conf nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.dynamic. include /usr/share/nginx/modules/*.conf...