bfe
bfe copied to clipboard
Add support to disable https
Discussed in https://github.com/bfenetworks/bfe/discussions/927
Originally posted by curiosport January 2, 2022
I know that using http
instead of https
is absurd I just want to know if it is possible to omit the TLS
certificate during development.
Solution proposal:
- add item
HttpsEnabled
inconf/bfe.conf
and the same inConfigBasic
structbfe_config/conf_basic.go
, defaulttrue
- when
HttpsEnabled
isfalse
, no check in(cfg *ConfigHttpsBasic) Check(confRoot string)
-
HttpsEnabled
isfalse
, no initial in (srv *BfeServer) InitHttps() -
HttpsEnabled
isfalse
, no startup for https connection serving
others to check, like bfe_modules, built-in monitor points etc.