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

enabled

boolean

true

This attribute determines whether or not the server should redirect ports that are specified in this configuration element. The default is true.

host

string

*

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).

httpPort

int
Min: 1

Max: 65535

The (non-secure) port to redirect from. Incoming HTTP requests on this port are redirected to the specified HTTPS port.

httpsPort

int
Min: 1

Max: 65535

The (secure) port to redirect to. Incoming HTTP requests that use the HTTP port are redirected to this port.

id

string

A unique configuration ID.