2022-03-14 15:26:29 +00:00
|
|
|
# Autogenerated
|
2022-05-04 12:44:10 +00:00
|
|
|
# Filename: proxy-config-example.yaml
|
|
|
|
|
|
2022-03-14 15:26:29 +00:00
|
|
|
tracing:
|
|
|
|
|
enabled: false
|
|
|
|
|
type: ""
|
|
|
|
|
endpoint: ""
|
|
|
|
|
collector: ""
|
|
|
|
|
log:
|
|
|
|
|
level: ""
|
|
|
|
|
pretty: false
|
|
|
|
|
color: false
|
|
|
|
|
file: ""
|
|
|
|
|
debug:
|
|
|
|
|
addr: 127.0.0.1:9205
|
|
|
|
|
token: ""
|
|
|
|
|
pprof: false
|
|
|
|
|
zpages: false
|
|
|
|
|
http:
|
|
|
|
|
addr: 0.0.0.0:9200
|
|
|
|
|
root: /
|
2022-03-31 12:26:58 +00:00
|
|
|
tls_cert: ~/.ocis/proxy/server.crt
|
|
|
|
|
tls_key: ~/.ocis/proxy/server.key
|
2022-03-14 15:26:29 +00:00
|
|
|
tls: true
|
|
|
|
|
reva:
|
2023-06-08 10:43:53 +00:00
|
|
|
address: com.owncloud.api.gateway
|
2022-11-03 09:20:09 +00:00
|
|
|
tls:
|
|
|
|
|
mode: ""
|
2022-11-15 13:51:44 +00:00
|
|
|
cacert: ""
|
2023-03-07 13:45:26 +00:00
|
|
|
grpc_client_tls: null
|
2023-02-22 16:09:35 +00:00
|
|
|
role_quotas: {}
|
2022-03-14 15:26:29 +00:00
|
|
|
policies:
|
|
|
|
|
- name: ocis
|
|
|
|
|
routes:
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.web
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2023-02-13 10:07:05 +00:00
|
|
|
- endpoint: /.well-known/webfinger
|
|
|
|
|
service: com.owncloud.web.webfinger
|
|
|
|
|
unprotected: true
|
|
|
|
|
- endpoint: /.well-known/openid-configuration
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.idp
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2023-02-13 21:32:04 +00:00
|
|
|
- endpoint: /branding/logo
|
|
|
|
|
service: com.owncloud.web.web
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /konnect/
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.idp
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /signin/
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.idp
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /archiver
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2023-08-30 08:38:56 +00:00
|
|
|
- endpoint: /ocs/v2.php/apps/notifications/api/v1/notifications/sse
|
|
|
|
|
service: com.owncloud.sse.sse
|
2023-02-23 14:36:02 +00:00
|
|
|
- endpoint: /ocs/v2.php/apps/notifications/api/v1/notifications
|
|
|
|
|
service: com.owncloud.userlog.userlog
|
2022-03-14 15:26:29 +00:00
|
|
|
- type: regex
|
2022-05-11 13:32:17 +00:00
|
|
|
endpoint: /ocs/v[12].php/cloud/user/signing-key
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.ocs
|
2022-09-01 10:45:34 +00:00
|
|
|
- type: regex
|
|
|
|
|
endpoint: /ocs/v[12].php/config
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2023-10-24 12:16:06 +00:00
|
|
|
- endpoint: /sciencemesh/
|
|
|
|
|
service: com.owncloud.web.ocm
|
|
|
|
|
- endpoint: /ocm/
|
|
|
|
|
service: com.owncloud.web.ocm
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /ocs/
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2022-03-14 15:26:29 +00:00
|
|
|
- type: query
|
|
|
|
|
endpoint: /remote.php/?preview=1
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.webdav
|
2023-08-02 11:10:35 +00:00
|
|
|
- type: regex
|
|
|
|
|
method: REPORT
|
|
|
|
|
endpoint: (/remote.php)?/(web)?dav
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.webdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- type: query
|
|
|
|
|
endpoint: /dav/?preview=1
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.webdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- type: query
|
|
|
|
|
endpoint: /webdav/?preview=1
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.webdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /remote.php/
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /dav/
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /webdav/
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-05-23 15:42:19 +00:00
|
|
|
- endpoint: /status
|
|
|
|
|
service: com.owncloud.web.ocdav
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /status.php
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /index.php/
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /apps/
|
2022-05-06 15:29:36 +00:00
|
|
|
service: com.owncloud.web.ocdav
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /data
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
|
|
|
|
- endpoint: /app/list
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2022-09-01 10:45:34 +00:00
|
|
|
unprotected: true
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /app/
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.frontend
|
2023-03-28 13:30:01 +00:00
|
|
|
- endpoint: /graph/v1.0/invitations
|
|
|
|
|
service: com.owncloud.graph.invitations
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /graph/
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.graph.graph
|
2022-05-05 19:13:05 +00:00
|
|
|
- endpoint: /api/v0/settings
|
2022-11-03 11:32:28 +00:00
|
|
|
service: com.owncloud.web.settings
|
2023-11-17 14:54:02 +00:00
|
|
|
additional_policies: []
|
2022-03-14 15:26:29 +00:00
|
|
|
oidc:
|
|
|
|
|
issuer: https://localhost:9200
|
2022-09-26 09:23:43 +00:00
|
|
|
insecure: false
|
2022-08-03 10:03:42 +00:00
|
|
|
access_token_verify_method: jwt
|
2023-08-23 13:14:13 +00:00
|
|
|
skip_user_info: false
|
2022-03-31 12:26:58 +00:00
|
|
|
user_info_cache:
|
2023-03-22 14:23:50 +00:00
|
|
|
store: memory
|
2023-12-14 10:53:37 +00:00
|
|
|
addresses:
|
|
|
|
|
- 127.0.0.1:9233
|
|
|
|
|
database: cache-userinfo
|
|
|
|
|
table: ""
|
2023-03-22 14:23:50 +00:00
|
|
|
ttl: 10s
|
|
|
|
|
size: 0
|
2023-12-15 13:33:55 +00:00
|
|
|
disable_persistence: false
|
2023-12-19 10:29:07 +00:00
|
|
|
username: ""
|
|
|
|
|
password: ""
|
2022-08-03 10:03:42 +00:00
|
|
|
jwks:
|
|
|
|
|
refresh_interval: 60
|
|
|
|
|
refresh_timeout: 10
|
|
|
|
|
refresh_limit: 60
|
|
|
|
|
refresh_unknown_kid: true
|
2022-08-08 13:43:17 +00:00
|
|
|
rewrite_well_known: false
|
2023-09-07 18:57:13 +00:00
|
|
|
service_account:
|
|
|
|
|
service_account_id: ""
|
|
|
|
|
service_account_secret: ""
|
2023-03-20 14:15:49 +00:00
|
|
|
role_assignment:
|
|
|
|
|
driver: default
|
|
|
|
|
oidc_role_mapper:
|
|
|
|
|
role_claim: roles
|
|
|
|
|
role_mapping:
|
2023-04-19 06:58:33 +00:00
|
|
|
- role_name: admin
|
|
|
|
|
claim_value: ocisAdmin
|
|
|
|
|
- role_name: spaceadmin
|
|
|
|
|
claim_value: ocisSpaceAdmin
|
|
|
|
|
- role_name: user
|
|
|
|
|
claim_value: ocisUser
|
|
|
|
|
- role_name: guest
|
|
|
|
|
claim_value: ocisGuest
|
2022-03-31 12:26:58 +00:00
|
|
|
policy_selector:
|
|
|
|
|
static:
|
|
|
|
|
policy: ocis
|
|
|
|
|
claims: null
|
|
|
|
|
regex: null
|
|
|
|
|
pre_signed_url:
|
|
|
|
|
allowed_http_methods:
|
2022-03-14 15:26:29 +00:00
|
|
|
- GET
|
|
|
|
|
enabled: true
|
2022-04-27 08:11:00 +00:00
|
|
|
account_backend: cs3
|
2023-06-01 09:20:33 +00:00
|
|
|
user_oidc_claim: preferred_username
|
|
|
|
|
user_cs3_claim: username
|
2022-05-02 07:33:47 +00:00
|
|
|
machine_auth_api_key: ""
|
2022-03-31 12:26:58 +00:00
|
|
|
auto_provision_accounts: false
|
|
|
|
|
enable_basic_auth: false
|
|
|
|
|
insecure_backends: false
|
2022-11-03 11:32:28 +00:00
|
|
|
backend_https_cacert: ""
|
2022-03-31 12:26:58 +00:00
|
|
|
auth_middleware:
|
|
|
|
|
credentials_by_user_agent: {}
|
2023-03-15 13:45:56 +00:00
|
|
|
policies_middleware:
|
|
|
|
|
query: ""
|