httpProxyRedirect - HTTP Proxy Redirect (httpProxyRedirect)

Configures port redirection. HTTP Proxy Redirect is used when redirecting HTTP requests from a non-secure port (for example, 80) to an SSL-enabled secured port (for example, 443).

NameTypeDefaultDescription
idstringA unique configuration ID.
httpPortint
Min: 1

Max: 65535
The (non-secure) port to redirect from. Incoming HTTP requests on this port are redirected to the specified HTTPS port.
httpsPortint
Min: 1

Max: 65535
The (secure) port to redirect to. Incoming HTTP requests that use the HTTP port are redirected to this port.
enabledbooleantrueThis attribute determines whether or not the server should redirect ports that are specified in this configuration element. The default is true.
hoststring*The host name used for this proxy redirect. The server redirects HTTP requests only if the incoming request specifies a host name that matches this value. The default is * (all hosts).