listenHTTPReverseProxy

Transparently forwards all requests to the proxy to a destination_host.

You can use the hostName field in the 'settings' to combine multiple internal HTTP servers into one public web server with multiple virtual hosts.

  1. void listenHTTPReverseProxy(HTTPServerSettings settings, HTTPReverseProxySettings proxy_settings)
  2. void listenHTTPReverseProxy(HTTPServerSettings settings, string destination_host, ushort destination_port)

Meta