Files
ocis/proxy/config/proxy-example-migration.json
T

164 lines
3.9 KiB
JSON
Raw Normal View History

2020-03-25 21:17:20 +01:00
{
2021-07-05 15:49:57 +02:00
"http": {
"addr": "0.0.0.0:9200",
"root": "/"
2020-03-25 21:17:20 +01:00
},
"oidc": {
2020-07-13 16:02:05 +02:00
"issuer": "https://localhost:9200",
2020-03-25 21:17:20 +01:00
"insecure": true
},
2020-03-26 23:45:30 +01:00
"policy_selector": {
"migration": {
2021-04-20 14:41:36 +02:00
"acc_found_policy": "ocis",
2020-03-26 23:45:30 +01:00
"acc_not_found_policy": "oc10",
"unauthenticated_policy": "oc10"
}
},
2020-03-25 21:17:20 +01:00
"policies": [
{
2020-12-18 15:04:04 +01:00
"name": "ocis",
2020-03-25 21:17:20 +01:00
"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"
},
2021-04-20 14:41:36 +02:00
{
"type": "regex",
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
"backend": "http://localhost:9110"
},
2020-03-25 21:17:20 +01:00
{
"endpoint": "/ocs/",
"backend": "http://localhost:9140"
},
2021-04-20 14:41:36 +02:00
{
"type": "query",
"endpoint": "/remote.php/?preview=1",
"backend": "http://localhost:9115"
},
2020-03-25 21:17:20 +01:00
{
"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"
2020-06-12 09:19:41 +02:00
},
{
"endpoint": "/data",
"backend": "http://localhost:9140"
2020-07-10 15:35:20 +02:00
},
{
2021-04-20 14:41:36 +02:00
"endpoint": "/graph/",
"backend": "http://localhost:9120"
},
2021-10-14 16:10:43 +02:00
{
"endpoint": "/app/",
"backend": "http://localhost:9140"
},
{
"endpoint": "/archiver",
"backend": "http://localhost:9140"
},
2021-04-20 14:41:36 +02:00
{
"endpoint": "/graph-explorer/",
"backend": "http://localhost:9135"
},
{
"endpoint": "/api/v0/accounts",
"backend": "http://localhost:9181"
},
{
2020-07-10 15:35:20 +02:00
"endpoint": "/accounts.js",
2021-04-20 14:41:36 +02:00
"backend": "http://localhost:9181"
},
{
"endpoint": "/api/v0/settings",
2021-04-20 14:41:36 +02:00
"backend": "http://localhost:9190"
},
{
"endpoint": "/settings.js",
2021-04-20 14:41:36 +02:00
"backend": "http://localhost:9190"
}
2020-03-25 21:17:20 +01:00
]
},
{
"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"
2020-06-12 09:19:41 +02:00
},
{
"endpoint": "/data",
"backend": "https://demo.owncloud.com",
"apache-vhost": true
2020-03-25 21:17:20 +01:00
}
]
}
]
}