update deployments proxy config

This commit is contained in:
Willy Kloucek
2022-05-19 07:56:41 +02:00
parent ea435449d2
commit fced29a6be
3 changed files with 61 additions and 156 deletions
@@ -17,7 +17,7 @@ policies:
- endpoint: /archiver - endpoint: /archiver
backend: http://localhost:9140 backend: http://localhost:9140
- type: regex - type: regex
endpoint: /ocs/v[12].php/cloud/(users?|groups) endpoint: /ocs/v[12].php/cloud/user/signing-key
backend: http://localhost:9110 backend: http://localhost:9110
- endpoint: /ocs/ - endpoint: /ocs/
backend: http://localhost:9140 backend: http://localhost:9140
@@ -53,10 +53,6 @@ policies:
backend: http://localhost:9120 backend: http://localhost:9120
- endpoint: /graph-explorer - endpoint: /graph-explorer
backend: http://localhost:9135 backend: http://localhost:9135
- endpoint: /api/v0/accounts
backend: http://localhost:9181
- endpoint: /accounts.js
backend: http://localhost:9181
- endpoint: /api/v0/settings - endpoint: /api/v0/settings
backend: http://localhost:9190 backend: http://localhost:9190
- endpoint: /settings.js - endpoint: /settings.js
@@ -3,149 +3,62 @@ policy_selector:
policy: ocis policy: ocis
policies: policies:
- name: ocis - name: ocis
routes: routes:
# defaults, taken from https://owncloud.dev/extensions/proxy/configuration/ # defaults, taken from https://owncloud.dev/extensions/proxy/configuration/
- type: "" - endpoint: /
method: "" backend: http://localhost:9100
endpoint: / - endpoint: /.well-known/
backend: http://localhost:9100 backend: http://localhost:9130
service: "" - endpoint: /konnect/
apache_vhost: false backend: http://localhost:9130
- type: "" - endpoint: /signin/
method: "" backend: http://localhost:9130
endpoint: /.well-known/ - endpoint: /archiver
backend: http://localhost:9130 backend: http://localhost:9140
service: "" - type: regex
apache_vhost: false endpoint: /ocs/v[12].php/cloud/user/signing-key
- type: "" backend: http://localhost:9110
method: "" - endpoint: /ocs/
endpoint: /konnect/ backend: http://localhost:9140
backend: http://localhost:9130 - type: query
service: "" endpoint: /remote.php/?preview=1
apache_vhost: false backend: http://localhost:9115
- type: "" - method: REPORT
method: "" endpoint: /remote.php/dav/
endpoint: /signin/ backend: http://localhost:9115
backend: http://localhost:9130 - type: query
service: "" endpoint: /dav/?preview=1
apache_vhost: false backend: http://localhost:9115
- type: "" - type: query
method: "" endpoint: /webdav/?preview=1
endpoint: /archiver backend: http://localhost:9115
backend: http://localhost:9140 - endpoint: /remote.php/
service: "" service: com.owncloud.web.ocdav
apache_vhost: false - endpoint: /dav/
- type: regex service: com.owncloud.web.ocdav
method: "" - endpoint: /webdav/
endpoint: /ocs/v[12].php/cloud/(users?|groups) service: com.owncloud.web.ocdav
backend: http://localhost:9110 - endpoint: /status.php
service: "" service: com.owncloud.web.ocdav
apache_vhost: false - endpoint: /index.php/
- type: "" service: com.owncloud.web.ocdav
method: "" - endpoint: /apps/
endpoint: /ocs/ service: com.owncloud.web.ocdav
backend: http://localhost:9140 - endpoint: /data
service: "" backend: http://localhost:9140
apache_vhost: false - endpoint: /app/
- type: query backend: http://localhost:9140
method: "" - endpoint: /graph/
endpoint: /remote.php/?preview=1 backend: http://localhost:9120
backend: http://localhost:9115 - endpoint: /graph-explorer
service: "" backend: http://localhost:9135
apache_vhost: false - endpoint: /api/v0/settings
- type: "" backend: http://localhost:9190
method: REPORT - endpoint: /settings.js
endpoint: /remote.php/dav/ backend: http://localhost:9190
backend: http://localhost:9115 # oCIS Hello specific routes
service: "" - endpoint: "/api/v0/greet"
apache_vhost: false backend: http://ocis-hello:9105
- type: "" - endpoint: "/hello.js"
method: "" backend: http://ocis-hello:9105
endpoint: /remote.php/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /dav/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /webdav/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /status.php
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /index.php/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /apps/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /data
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /app/
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /graph/
backend: http://localhost:9120
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /graph-explorer
backend: http://localhost:9135
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /api/v0/accounts
backend: http://localhost:9181
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /accounts.js
backend: http://localhost:9181
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /api/v0/settings
backend: http://localhost:9190
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /settings.js
backend: http://localhost:9190
service: ""
apache_vhost: false
# oCIS Hello specific routes
- endpoint: "/api/v0/greet"
backend: http://ocis-hello:9105
- endpoint: "/hello.js"
backend: http://ocis-hello:9105
@@ -17,7 +17,7 @@ policies:
- endpoint: /archiver - endpoint: /archiver
backend: http://localhost:9140 backend: http://localhost:9140
- type: regex - type: regex
endpoint: /ocs/v[12].php/cloud/(users?|groups) endpoint: /ocs/v[12].php/cloud/user/signing-key
backend: http://localhost:9110 backend: http://localhost:9110
- endpoint: /ocs/ - endpoint: /ocs/
backend: http://localhost:9140 backend: http://localhost:9140
@@ -53,10 +53,6 @@ policies:
backend: http://localhost:9120 backend: http://localhost:9120
- endpoint: /graph-explorer - endpoint: /graph-explorer
backend: http://localhost:9135 backend: http://localhost:9135
- endpoint: /api/v0/accounts
backend: http://localhost:9181
- endpoint: /accounts.js
backend: http://localhost:9181
- endpoint: /api/v0/settings - endpoint: /api/v0/settings
backend: http://localhost:9190 backend: http://localhost:9190
- endpoint: /settings.js - endpoint: /settings.js