Files
ocis/extensions/_includes/proxy_configvars.md
T
Christian Richter 6191565981 commit c3d0fd9a14
Merge: ef1f2ba75 2930ac528
Author: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
Date:   Wed Jun 15 14:17:30 2022 +0200

    Merge pull request #3972 from owncloud/doc-fixes

    [docs-only] small doc fixes
2022-06-15 12:19:15 +00:00

3.5 KiB

Environment Variables

Name Type Default Value Description
OCIS_TRACING_ENABLED
PROXY_TRACING_ENABLED
bool false Activates tracing.
OCIS_TRACING_TYPE
PROXY_TRACING_TYPE
string The type of tracing. Defaults to "", which is the same as "jaeger". Allowed tracing types are "jaeger" and "" as of now.
OCIS_TRACING_ENDPOINT
PROXY_TRACING_ENDPOINT
string The endpoint of the tracing agent.
OCIS_TRACING_COLLECTOR
PROXY_TRACING_COLLECTOR
string The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
OCIS_LOG_LEVEL
PROXY_LOG_LEVEL
string The log level. Valid values are: "panic", "fatal", "error", "warn", "info", "debug", "trace".
OCIS_LOG_PRETTY
PROXY_LOG_PRETTY
bool false Activates pretty log output.
OCIS_LOG_COLOR
PROXY_LOG_COLOR
bool false Activates colorized log output.
OCIS_LOG_FILE
PROXY_LOG_FILE
string The path to the log file. Activates logging to this file if set.
PROXY_DEBUG_ADDR string 127.0.0.1:9205 Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
PROXY_DEBUG_TOKEN string Token to secure the metrics endpoint
PROXY_DEBUG_PPROF bool false Enables pprof, which can be used for profiling
PROXY_DEBUG_ZPAGES bool false Enables zpages, which can be used for collecting and viewing in-memory traces.
PROXY_HTTP_ADDR string 0.0.0.0:9200
PROXY_HTTP_ROOT string /
PROXY_TRANSPORT_TLS_CERT string ~/.ocis/proxy/server.crt
PROXY_TRANSPORT_TLS_KEY string ~/.ocis/proxy/server.key
PROXY_TLS bool true
REVA_GATEWAY string 127.0.0.1:9142 The CS3 gateway endpoint.
OCIS_URL
OCIS_OIDC_ISSUER
PROXY_OIDC_ISSUER
string https://localhost:9200 URL of the OIDC issuer. It defaults to URL of the builtin IDP.
OCIS_INSECURE
PROXY_OIDC_INSECURE
bool true Disable TLS certificate validation for connections to the IDP. (not recommended for production environments.
PROXY_OIDC_USERINFO_CACHE_SIZE int 1024
PROXY_OIDC_USERINFO_CACHE_TTL int 10
OCIS_JWT_SECRET
PROXY_JWT_SECRET
string The secret to mint and validate jwt tokens.
PROXY_ENABLE_PRESIGNEDURLS bool true
PROXY_ACCOUNT_BACKEND_TYPE string cs3 Account backend the proxy should use, currenly only 'cs3' is possible here.
PROXY_USER_OIDC_CLAIM string email The name of an OpenID Connect claim that should be used for resolving users with the account backend. Currently defaults to 'email'.
PROXY_USER_CS3_CLAIM string mail The name of a CS3 user attribute (claim) that should be mapped to the 'user_oidc_claim'. Currently defaults to 'mail' (other possible values are: 'username', 'displayname')
OCIS_MACHINE_AUTH_API_KEY
PROXY_MACHINE_AUTH_API_KEY
string Machine auth API key used for accessing the 'auth-machine' service to impersonate users.
PROXY_AUTOPROVISION_ACCOUNTS bool false Set this to 'true' to automatically provsion users that do not yet exist in the users service on-demand upon first signin. To use this a write-enabled libregraph user backend needs to be setup an running.
PROXY_ENABLE_BASIC_AUTH bool false Set this to true to enable 'basic' (username/password) authentication. (Default: false)
PROXY_INSECURE_BACKENDS bool false Disable TLS certificate validation for all http backend connections. (Default: false)