thanks for fast reply#
here is what I get

root@mail:~# nginx -t -c /etc/nginx/nginx.conf
nginx: [emerg] "if" directive is not allowed here in
/etc/nginx/nginx.conf:82
nginx: configuration file /etc/nginx/nginx.conf test failed

so 'if' should be deleted?

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,271581,271583#msg-271583

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to