Currently, the nginx configuration for the legacy webserver role
used hardcoded port information to pass a request to Docker PaaS.
This change introduces a method to prepare a dictionary of proxy_pass URLs
per server and application, and applies it for API and infra.