From dfafcb96643bf7399f78641e3226cccaa9eef386 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 6 May 2022 12:50:38 +0200 Subject: [PATCH] update proxy config --- .../oc10_ocis_parallel/config/ocis/proxy.yaml | 139 ++++-------------- 1 file changed, 28 insertions(+), 111 deletions(-) diff --git a/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml b/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml index 0c678461e8..49e64f6748 100755 --- a/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml +++ b/deployments/examples/oc10_ocis_parallel/config/ocis/proxy.yaml @@ -6,144 +6,61 @@ policy_selector: policies: - name: ocis routes: - - type: "" - method: "" - endpoint: / + - endpoint: / backend: http://localhost:9100 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /.well-known/ + - endpoint: /.well-known/ backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /konnect/ + - endpoint: /konnect/ backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /signin/ + - endpoint: /signin/ backend: http://localhost:9130 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /archiver + - endpoint: /archiver backend: http://localhost:9140 - service: "" - apache_vhost: false - type: regex - method: "" - endpoint: /ocs/v[12].php/cloud/user/signing-key + endpoint: /ocs/v[12].php/cloud/(users?|groups) backend: http://localhost:9110 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /ocs/ + - endpoint: /ocs/ backend: http://localhost:9140 - service: "" - apache_vhost: false - type: query - method: "" endpoint: /remote.php/?preview=1 backend: http://localhost:9115 - service: "" - apache_vhost: false - - type: "" - method: REPORT + - method: REPORT endpoint: /remote.php/dav/ backend: http://localhost:9115 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /remote.php/ - backend: "" + - type: query + endpoint: /dav/?preview=1 + backend: http://localhost:9115 + - type: query + endpoint: /webdav/?preview=1 + backend: http://localhost:9115 + - endpoint: /remote.php/ service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /dav/ - backend: "" + - endpoint: /dav/ service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /webdav/ - backend: "" + - endpoint: /webdav/ service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /status.php - backend: "" + - endpoint: /status.php service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /index.php/ - backend: "" + - endpoint: /index.php/ service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /apps/ - backend: "" + - endpoint: /apps/ service: ocdav - apache_vhost: false - - type: "" - method: "" - endpoint: /data + - endpoint: /data backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /app/ + - endpoint: /app/ backend: http://localhost:9140 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /graph/ + - endpoint: /graph/ backend: http://localhost:9120 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /graph-explorer + - endpoint: /graph-explorer backend: http://localhost:9135 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /api/v0/accounts + - endpoint: /api/v0/accounts backend: http://localhost:9181 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /accounts.js + - endpoint: /accounts.js backend: http://localhost:9181 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /api/v0/settings + - endpoint: /api/v0/settings backend: http://localhost:9190 - service: "" - apache_vhost: false - - type: "" - method: "" - endpoint: /settings.js + - endpoint: /settings.js backend: http://localhost:9190 - service: "" - apache_vhost: false - name: oc10 routes: - endpoint: "/"