add webroot setting

This commit is contained in:
asokolov 2018-11-07 18:07:05 +03:00
parent 36cf622979
commit 23ae220aa7
2 changed files with 43 additions and 35 deletions

View file

@ -86,6 +86,7 @@ namespace config {
("http.pass", value<std::string>()->default_value(""), "Password for basic auth (default: random, see logs)")
("http.strictheaders", value<bool>()->default_value(true), "Enable strict host checking on WebUI")
("http.hostname", value<std::string>()->default_value("localhost"), "Expected hostname for WebUI")
("http.webroot", value<std::string>()->default_value("/"), "WebUI root path (default: / )")
;
options_description httpproxy("HTTP Proxy options");