mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
add http checks to proxy & settings
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
@@ -18,7 +18,8 @@ func Server(opts ...Option) (*http.Server, error) {
|
||||
|
||||
checkHandler := handlers.NewCheckHandler(
|
||||
handlers.NewCheckHandlerConfiguration().
|
||||
WithLogger(options.Logger),
|
||||
WithLogger(options.Logger).
|
||||
WithCheck("web reachability", handlers.NewHTTPCheck(options.Config.HTTP.Addr)),
|
||||
)
|
||||
|
||||
var configDumpFunc http.HandlerFunc = configDump(options.Config)
|
||||
|
||||
Reference in New Issue
Block a user