From ea8a2dec560f1c4df283faae208e448f3ae61424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Mu=CC=88ller?= Date: Tue, 3 Nov 2020 15:11:16 +0200 Subject: [PATCH] Updates proxy.json --- .../ocis_oc10_backend/ocis/proxy-config.json | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/deployments/examples/ocis_oc10_backend/ocis/proxy-config.json b/deployments/examples/ocis_oc10_backend/ocis/proxy-config.json index ca9f62723..9343769bf 100644 --- a/deployments/examples/ocis_oc10_backend/ocis/proxy-config.json +++ b/deployments/examples/ocis_oc10_backend/ocis/proxy-config.json @@ -1,6 +1,6 @@ { "HTTP": { - "Namespace": "com.owncloud" + "Namespace": "works.owncloud" }, "policy_selector": { "migration": { @@ -19,21 +19,26 @@ }, { "endpoint": "/.well-known/", - "backend": "http://konnectd:9130" + "backend": "http://localhost:9130" }, { "endpoint": "/konnect/", - "backend": "http://konnectd:9130" + "backend": "http://localhost:9130" }, { "endpoint": "/signin/", - "backend": "http://konnectd:9130" + "backend": "http://localhost:9130" }, { "endpoint": "/ocs/", "backend": "http://localhost:9140" }, { + "type": "regex", + "endpoint": "/ocs/v[12].php/cloud/user", + "backend": "http://localhost:9110" + }, + { "endpoint": "/remote.php/", "backend": "http://localhost:9140" }, @@ -52,6 +57,26 @@ { "endpoint": "/index.php/", "backend": "http://localhost:9140" + }, + { + "endpoint": "/data", + "backend": "http://localhost:9140" + }, + { + "endpoint": "/api/v0/accounts", + "backend": "http://localhost:9181" + }, + { + "endpoint": "/accounts.js", + "backend": "http://localhost:9181" + }, + { + "endpoint": "/api/v0/settings", + "backend": "http://localhost:9190" + }, + { + "endpoint": "/settings.js", + "backend": "http://localhost:9190" } ] },