Author: Jörn Friedrich Dreyer <jfd@owncloud.com> Date: Tue Oct 4 16:56:05 2022 +0200 bring back CORS env vars (#4723) * bring back CORS env vars Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * update CORS descriptions Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * align writing of 'A comma-separated ...' Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * fix some desc quotes Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Apply suggestions from code review Co-authored-by: Martin <github@diemattels.at> * Apply more suggestions from code review Co-authored-by: Martin <github@diemattels.at> * Apply final suggestions from code review Co-authored-by: Martin <github@diemattels.at> Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: Martin <github@diemattels.at>
56 lines
909 B
YAML
56 lines
909 B
YAML
# Autogenerated
|
|
# Filename: settings-config-example.yaml
|
|
|
|
tracing:
|
|
enabled: false
|
|
type: ""
|
|
endpoint: ""
|
|
collector: ""
|
|
log:
|
|
level: ""
|
|
pretty: false
|
|
color: false
|
|
file: ""
|
|
debug:
|
|
addr: 127.0.0.1:9194
|
|
token: ""
|
|
pprof: false
|
|
zpages: false
|
|
http:
|
|
addr: 127.0.0.1:9190
|
|
root: /
|
|
cache_ttl: 604800
|
|
cors:
|
|
allow_origins:
|
|
- '*'
|
|
allow_methods:
|
|
- GET
|
|
- POST
|
|
- PUT
|
|
- PATCH
|
|
- DELETE
|
|
- OPTIONS
|
|
allow_headers:
|
|
- Authorization
|
|
- Origin
|
|
- Content-Type
|
|
- Accept
|
|
- X-Requested-With
|
|
allow_credentials: true
|
|
grpc:
|
|
addr: 127.0.0.1:9191
|
|
store_type: metadata
|
|
data_path: ~/.ocis/settings
|
|
metadata_config:
|
|
gateway_addr: 127.0.0.1:9215
|
|
storage_addr: 127.0.0.1:9215
|
|
system_user_id: ""
|
|
system_user_idp: internal
|
|
system_user_api_key: ""
|
|
admin_user_id: ""
|
|
asset:
|
|
path: ""
|
|
token_manager:
|
|
jwt_secret: ""
|
|
set_default_assignments: false
|