make frontend prefixes configurable

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-07-09 10:33:35 +02:00
parent fcd3fc29c1
commit b75cfbf39e
3 changed files with 34 additions and 2 deletions
+10 -1
View File
@@ -65,6 +65,15 @@ type Users struct {
JSON string
}
// FrontendPort defines the available frontend configuration.
type FrontendPort struct {
Port
DatagatewayPrefix string
OCDavPrefix string
OCSPrefix string
}
// StoragePort defines the available storage configuration.
type StoragePort struct {
Port
@@ -230,7 +239,7 @@ type Reva struct {
OCDav OCDav
Storages StorageConfig
// Ports are used to configure which services to start on which port
Frontend Port
Frontend FrontendPort
DataGateway Port
Gateway Gateway
Users Users