I ran into the following situation. A client provides a soap service on port 80. It's unknown how their clients access the service exactly but it assumed that they have the uris hardcoded in their scripts. Currently we are developing a new website for my client which will operate on the current domain. The soap service will be moved to a subdomain. Since they don't want to bother their clients with a domain change for the soap service I've been asked to forward all soap requests to the server on the subdomain.
My question now is, can this be done and how? I'm running an Nginx webserver on Ubuntu 14.04. Can we just forward this endpoint https://www.domain.nl/services/soap to https://subdomain.domain.nl/services/soap or do we need to use iptables for it? In case of iptables how can we separate soap requests from regular web requests?