nginx.conf

xstation nginx-forum at forum.nginx.org
Fri Dec 16 06:17:43 UTC 2016


thanks for fast reply#
here is what I get

root at 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



More information about the nginx mailing list