frp/server
EMRE ÇELİK 310fc14261
Server Dashboard SSL Support
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.
2022-06-16 17:21:08 +03:00
..
controller rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
group type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode (#2932) 2022-05-26 23:57:30 +08:00
metrics refactoring monitor code, support prometheus (#1668) 2020-03-11 13:20:26 +08:00
ports use net.JoinHostPort instead of fmt.Sprintf (#2791) 2022-02-09 15:19:35 +08:00
proxy type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode (#2932) 2022-05-26 23:57:30 +08:00
visitor rename models to pkg (#2005) 2020-09-23 13:49:14 +08:00
control.go type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode (#2932) 2022-05-26 23:57:30 +08:00
dashboard_api.go add healthz api (#2511) 2021-08-04 14:33:53 +08:00
dashboard.go Server Dashboard SSL Support 2022-06-16 17:21:08 +03:00
service.go type http/tcpmux proxy support route_by_http_user, tcpmux support passthourgh mode (#2932) 2022-05-26 23:57:30 +08:00