Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & 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.

HTTP redirection is enabled.
HTTP redirection is disabled.

Configuration mode

service {
		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.