Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

service https http-redirect

Enables or disables HTTP redirection.

set service https http-redirect { enable | disable }
delete service https http-redirect
show service https http-redirect

HTTP redirection is enabled.

enable
HTTP redirection is enabled.
disable
HTTP redirection is disabled.

Configuration mode


service {
	https
		http-redirect [enable|disable]
	}
}

Use this command to specify whether to enable or disable HTTP redirection.

When the vRouter web GUI service (https) is enabled, HTTP redirection is enabled automatically. This allows the user to specify an HTTP URL rather than an HTTPS URL to connect to the web GUI. In certain circumstances this behavior is undesirable. Use this command to disable this behavior.

Use the set form of this command to enable or disable HTTP redirection.

Use the delete form of this command to restore the default behavior for HTTP redirection.

Use the show form of this command to view HTTP redirection configuration.