Add custom http root

Now we are able to let this service run on a different root path.
This commit is contained in:
Thomas Boerger
2019-12-09 14:48:22 +01:00
parent b5a28fe5ed
commit 4e4e873b80
5 changed files with 29 additions and 2 deletions
+6
View File
@@ -71,6 +71,9 @@ OCS_DEBUG_ZPAGES
OCS_HTTP_ADDR
: Address to bind http server, defaults to `0.0.0.0:9110`
OCS_HTTP_ROOT
: Root path of http server, defaults to `/`
##### Health
OCS_DEBUG_ADDR
@@ -126,6 +129,9 @@ If you prefer to configure the service with commandline flags you can see the av
--http-addr
: Address to bind http server, defaults to `0.0.0.0:9110`
--http-root
: Root path of http server, defaults to `/`
##### Health
--debug-addr