Probably you put
stream
in wrong place of /etc/nginx/nginx.conf
file (as your error is at line 16). You have to put it below closing tag of http
like this:
Code:
stream {
server {
listen 7172;
proxy_pass YOUR_SERVER_IP:7172;
}
}