Redirecting Listen Requests

By default, System Web Interface listens on port 6787. To listen on port 443 and then redirect requests to port 6787, set the value of the conf/redirect_from_https property to true on the webui/server:default service, as shown in the following example. Notice that neither port 6787 nor port 443 is explicitly mentioned:

$ $ svccfg -s webui/server:default
svc:/system/webui/server:default> listprop conf/redirect_from_https
conf/redirect_from_https boolean     false
svc:/system/webui/server:default> setprop conf/redirect_from_https=true
svc:/system/webui/server:default> listprop conf/redirect_from_https
conf/redirect_from_https boolean     true
svc:/system/webui/server:default> refresh
svc:/system/webui/server:default> exit
$ svcprop -p conf/redirect_from_https webui/server:default
true