I have an Apache server where I use the feature of ProxyPassReverse to forward the web requests coming to my server to an external server. I have put the following
configuration in the httpd.conf file:

ProxyPass /smsprox http://sm.incomingsver.com/send
ProxyPassReverse /smsprox http://sm.outgoingsver.com/send

What should I do to achieve this in nginx server?