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

96 lines
2.2 KiB
JSON
Raw Normal View History

2020-02-24 14:18:03 +01:00
{
2021-07-05 15:49:57 +02:00
"http": {
"addr": "0.0.0.0:9200",
"root": "/"
2020-03-16 11:24:31 +01:00
},
2020-03-26 23:45:30 +01:00
"policy_selector": {
2020-07-28 17:34:06 +02:00
"static": {
2020-12-18 15:04:04 +01:00
"policy": "ocis"
2020-07-28 17:34:06 +02:00
}
2020-03-26 23:45:30 +01:00
},
2020-03-04 10:23:32 +01:00
"policies": [
{
2020-12-18 15:04:04 +01:00
"name": "ocis",
2020-03-04 10:23:32 +01:00
"routes": [
2021-05-04 13:46:25 +02:00
{
"endpoint": "/",
"backend": "http://localhost:9100"
},
{
"endpoint": "/.well-known/",
"backend": "http://localhost:9130"
},
{
"endpoint": "/konnect/",
"backend": "http://localhost:9130"
},
{
"endpoint": "/signin/",
"backend": "http://localhost:9130"
},
{
2020-07-28 17:34:06 +02:00
"type": "regex",
2021-05-04 13:46:25 +02:00
"endpoint": "/ocs/v[12].php/cloud/(users?|groups)",
"backend": "http://localhost:9110"
},
{
"endpoint": "/ocs/",
"backend": "http://localhost:9140"
},
{
2021-04-20 14:41:36 +02:00
"type": "query",
2021-05-04 13:46:25 +02:00
"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": "/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"
}
2020-03-04 10:23:32 +01:00
]
}
]
2020-02-24 14:18:03 +01:00
}