{ "HTTP": { "Namespace": "com.owncloud" }, "policy_selector": { "static": {"policy" : "reva"} }, "policies": [ { "name": "reva", "routes": [ { "endpoint": "/", "backend": "http://localhost:9100" }, { "endpoint": "/.well-known/", "backend": "http://localhost:9130" }, { "endpoint": "/konnect/", "backend": "http://localhost:9130" }, { "endpoint": "/signin/", "backend": "http://localhost:9130" }, { "endpoint": "/ocs/", "backend": "http://localhost:9140" }, { "endpoint": "/remote.php/", "backend": "http://localhost:9140" }, { "endpoint": "/dav/", "backend": "http://localhost:9140" }, { "endpoint": "/webdav/", "backend": "http://localhost:9140" }, { "endpoint": "/status.php", "backend": "http://localhost:9140" }, { "endpoint": "/index.php/", "backend": "http://localhost:9140" } ] }, { "name": "oc10", "routes": [ { "endpoint": "/", "backend": "http://localhost:9100" }, { "endpoint": "/.well-known/", "backend": "http://localhost:9130" }, { "endpoint": "/konnect/", "backend": "http://localhost:9130" }, { "endpoint": "/signin/", "backend": "http://localhost:9130" }, { "endpoint": "/ocs/", "backend": "https://demo.owncloud.com", "apache-vhost": true }, { "endpoint": "/remote.php/", "backend": "https://demo.owncloud.com", "apache-vhost": true }, { "endpoint": "/dav/", "backend": "https://demo.owncloud.com", "apache-vhost": true }, { "endpoint": "/webdav/", "backend": "https://demo.owncloud.com", "apache-vhost": true }, { "endpoint": "/status.php", "backend": "https://demo.owncloud.com" }, { "endpoint": "/index.php/", "backend": "https://demo.owncloud.com" } ] } ] }