mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-31 17:30:29 -06:00
164 lines
3.9 KiB
JSON
164 lines
3.9 KiB
JSON
{
|
|
"http": {
|
|
"addr": "0.0.0.0:9200",
|
|
"root": "/"
|
|
},
|
|
"oidc": {
|
|
"issuer": "https://localhost:9200",
|
|
"insecure": true
|
|
},
|
|
"policy_selector": {
|
|
"migration": {
|
|
"acc_found_policy": "ocis",
|
|
"acc_not_found_policy": "oc10",
|
|
"unauthenticated_policy": "oc10"
|
|
}
|
|
},
|
|
"policies": [
|
|
{
|
|
"name": "ocis",
|
|
"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"
|
|
},
|
|
{
|
|
"type": "regex",
|
|
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
|
|
"backend": "http://localhost:9110"
|
|
},
|
|
{
|
|
"endpoint": "/ocs/",
|
|
"backend": "http://localhost:9140"
|
|
},
|
|
{
|
|
"type": "query",
|
|
"endpoint": "/remote.php/?preview=1",
|
|
"backend": "http://localhost:9115"
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"endpoint": "/data",
|
|
"backend": "http://localhost:9140"
|
|
},
|
|
{
|
|
"endpoint": "/graph/",
|
|
"backend": "http://localhost:9120"
|
|
},
|
|
{
|
|
"endpoint": "/app/",
|
|
"backend": "http://localhost:9140"
|
|
},
|
|
{
|
|
"endpoint": "/archiver",
|
|
"backend": "http://localhost:9140"
|
|
},
|
|
{
|
|
"endpoint": "/graph-explorer/",
|
|
"backend": "http://localhost:9135"
|
|
},
|
|
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"endpoint": "/data",
|
|
"backend": "https://demo.owncloud.com",
|
|
"apache-vhost": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |