Add custom http root
Now we are able to let this service run on a different root path.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user