diff --git a/deployments/examples/ocis_wopi/config/ocis/proxy-config.json b/deployments/examples/ocis_wopi/config/ocis/proxy-config.json index bccf196997..59b0fa28b3 100644 --- a/deployments/examples/ocis_wopi/config/ocis/proxy-config.json +++ b/deployments/examples/ocis_wopi/config/ocis/proxy-config.json @@ -32,6 +32,10 @@ "endpoint": "/ocs/v[12].php/cloud/(users?|groups)", "backend": "http://localhost:9110" }, + { + "endpoint": "/app/", + "backend": "http://localhost:9140" + }, { "endpoint": "/ocs/", "backend": "http://localhost:9140" diff --git a/proxy/pkg/proxy/proxy.go b/proxy/pkg/proxy/proxy.go index b066e96311..0bd61b7615 100644 --- a/proxy/pkg/proxy/proxy.go +++ b/proxy/pkg/proxy/proxy.go @@ -295,6 +295,10 @@ func defaultPolicies() []config.Policy { Endpoint: "/ocs/v[12].php/cloud/(users?|groups)", // we have `user`, `users` and `groups` in ocis-ocs Backend: "http://localhost:9110", }, + { + Endpoint: "/app/", + Backend: "http://localhost:9140", + }, { Endpoint: "/ocs/", Backend: "http://localhost:9140",