326 lines
7.8 KiB
Plaintext
326 lines
7.8 KiB
Plaintext
// set the attribute to true or leave empty, true without any quotes.
|
|
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
|
// if inside, you need to also use the xxx_deprecation.adoc file. attributes can't be defined inside tabs.
|
|
|
|
:show-deprecation: false
|
|
|
|
ifeval::[{show-deprecation} == true]
|
|
|
|
[#deprecation-note-2025-04-24-00-36-05]
|
|
[caption=]
|
|
.Deprecation notes for the webfinger service
|
|
[width="100%",cols="~,~,~,~",options="header"]
|
|
|===
|
|
| Deprecation Info
|
|
| Deprecation Version
|
|
| Removal Version
|
|
| Deprecation Replacement
|
|
|===
|
|
|
|
{empty} +
|
|
|
|
endif::[]
|
|
|
|
[caption=]
|
|
.Environment variables for the webfinger service
|
|
[width="100%",cols="~,~,~,~,~",options="header"]
|
|
|===
|
|
| Name
|
|
| IV
|
|
| Type
|
|
| Default Value
|
|
| Description
|
|
|
|
a|`OCIS_TRACING_ENABLED` +
|
|
`WEBFINGER_TRACING_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates tracing.
|
|
|
|
a|`OCIS_TRACING_TYPE` +
|
|
`WEBFINGER_TRACING_TYPE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
|
|
|
a|`OCIS_TRACING_ENDPOINT` +
|
|
`WEBFINGER_TRACING_ENDPOINT` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The endpoint of the tracing agent.
|
|
|
|
a|`OCIS_TRACING_COLLECTOR` +
|
|
`WEBFINGER_TRACING_COLLECTOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
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.
|
|
|
|
a|`OCIS_LOG_LEVEL` +
|
|
`WEBFINGER_LOG_LEVEL` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
|
|
a|`OCIS_LOG_PRETTY` +
|
|
`WEBFINGER_LOG_PRETTY` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates pretty log output.
|
|
|
|
a|`OCIS_LOG_COLOR` +
|
|
`WEBFINGER_LOG_COLOR` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates colorized log output.
|
|
|
|
a|`OCIS_LOG_FILE` +
|
|
`WEBFINGER_LOG_FILE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
The path to the log file. Activates logging to this file if set.
|
|
|
|
a|`WEBFINGER_DEBUG_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9279 ++
|
|
a| [subs=-attributes]
|
|
Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
|
|
|
|
a|`WEBFINGER_DEBUG_TOKEN` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Token to secure the metrics endpoint.
|
|
|
|
a|`WEBFINGER_DEBUG_PPROF` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables pprof, which can be used for profiling.
|
|
|
|
a|`WEBFINGER_DEBUG_ZPAGES` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Enables zpages, which can be used for collecting and viewing in-memory traces.
|
|
|
|
a|`WEBFINGER_HTTP_ADDR` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++127.0.0.1:9275 ++
|
|
a| [subs=-attributes]
|
|
The bind address of the HTTP service.
|
|
|
|
a|`WEBFINGER_HTTP_ROOT` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++/ ++
|
|
a| [subs=-attributes]
|
|
Subdirectory that serves as the root for this HTTP service.
|
|
|
|
a|`OCIS_CORS_ALLOW_ORIGINS` +
|
|
`WEBFINGER_CORS_ALLOW_ORIGINS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[https://localhost:9200] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS origins. See following chapter for more details: *Access-Control-Allow-Origin* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_METHODS` +
|
|
`WEBFINGER_CORS_ALLOW_METHODS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_HEADERS` +
|
|
`WEBFINGER_CORS_ALLOW_HEADERS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[] ++
|
|
a| [subs=-attributes]
|
|
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_CORS_ALLOW_CREDENTIALS` +
|
|
`WEBFINGER_CORS_ALLOW_CREDENTIALS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Allow credentials for CORS.See following chapter for more details: *Access-Control-Allow-Credentials* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.
|
|
|
|
a|`OCIS_HTTP_TLS_ENABLED` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Activates TLS for the http based services using the server certifcate and key configured via OCIS_HTTP_TLS_CERTIFICATE and OCIS_HTTP_TLS_KEY. If OCIS_HTTP_TLS_CERTIFICATE is not set a temporary server certificate is generated - to be used with PROXY_INSECURE_BACKEND=true.
|
|
|
|
a|`OCIS_HTTP_TLS_CERTIFICATE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name of the TLS server certificate (in PEM format) for the http services.
|
|
|
|
a|`OCIS_HTTP_TLS_KEY` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++ ++
|
|
a| [subs=-attributes]
|
|
Path/File name for the TLS certificate key (in PEM format) for the server certificate to use for the http services.
|
|
|
|
a|`WEBFINGER_RELATIONS` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++[]string ++
|
|
a| [subs=-attributes]
|
|
++[http://openid.net/specs/connect/1.0/issuer http://webfinger.owncloud/rel/server-instance] ++
|
|
a| [subs=-attributes]
|
|
A list of relation URIs or registered relation types to add to webfinger responses. See the Environment Variable Types description for more details.
|
|
|
|
a|`OCIS_URL` +
|
|
`OCIS_OIDC_ISSUER` +
|
|
`WEBFINGER_OIDC_ISSUER` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++https://localhost:9200 ++
|
|
a| [subs=-attributes]
|
|
The identity provider href for the openid-discovery relation.
|
|
|
|
a|`OCIS_URL` +
|
|
`WEBFINGER_OWNCLOUD_SERVER_INSTANCE_URL` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++string ++
|
|
a| [subs=-attributes]
|
|
++https://localhost:9200 ++
|
|
a| [subs=-attributes]
|
|
The URL for the legacy ownCloud server instance relation (not to be confused with the product ownCloud Server). It defaults to the OCIS_URL but can be overridden to support some reverse proxy corner cases. To shard the deployment, multiple instances can be configured in the configuration file.
|
|
|
|
a|`OCIS_INSECURE` +
|
|
`WEBFINGER_INSECURE` +
|
|
|
|
a| [subs=-attributes]
|
|
++pre5.0 ++
|
|
a| [subs=-attributes]
|
|
++bool ++
|
|
a| [subs=-attributes]
|
|
++false ++
|
|
a| [subs=-attributes]
|
|
Allow insecure connections to the WEBFINGER service.
|
|
|===
|
|
|