![]() Added a simple if-else statement that checks TLSOnly mode enabled. If enabled, serves the dashboard in HTTPS mode. Otherwise, serves the dashboard in HTTP mode. If TLSCertFile and TLSKeyFile are not used in config but TLSOnly is enabled, the HTTPS dashboard does not loads. Tested on Debian Linux and Windows Server 2012. |
||
---|---|---|
.. | ||
controller | ||
group | ||
metrics | ||
ports | ||
proxy | ||
visitor | ||
control.go | ||
dashboard_api.go | ||
dashboard.go | ||
service.go |