mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-28 16:48:30 -05:00
Bumps [github.com/libregraph/lico](https://github.com/libregraph/lico) from 0.62.0 to 0.64.0. - [Changelog](https://github.com/libregraph/lico/blob/master/CHANGELOG.md) - [Commits](https://github.com/libregraph/lico/compare/v0.62.0...v0.64.0) --- updated-dependencies: - dependency-name: github.com/libregraph/lico dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
69 lines
1.8 KiB
Caddyfile
69 lines
1.8 KiB
Caddyfile
# Example Caddyfile to use with https://caddyserver.com
|
|
#
|
|
# This assumes Konnect is running with identifier on 127.0.0.1:8777. In addition
|
|
# for development, the identifier is used directly from webpack-dev-server
|
|
# running on 127.0.0.1:3001. Additional examples are included for third party
|
|
# login provides which use cookie passthrough backend.
|
|
|
|
*:8443 {
|
|
errors stderr
|
|
log stdout
|
|
|
|
tls self_signed
|
|
|
|
# konnect oidc
|
|
proxy /.well-known/openid-configuration 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/jwks.json 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/token 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/userinfo 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/static 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/session 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
proxy /konnect/v1/register 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
|
|
# konnect identifier development via webpack-dev-server
|
|
proxy /signin/v1/ 127.0.0.1:3001 {
|
|
header_downstream Cache-Control "no-cache, max-age=0, public"
|
|
header_downstream Referrer-Policy origin
|
|
header_downstream Content-Security-Policy "object-src 'none'; script-src 'self'; base-uri 'none'; frame-ancestors 'none';"
|
|
}
|
|
proxy /ws 127.0.0.1:3001 {
|
|
websocket
|
|
}
|
|
proxy /static 127.0.0.1:3001
|
|
proxy /signin/v1/identifier/_/ 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
|
|
# konnect identifier login area
|
|
proxy /signin/ 127.0.0.1:8777 {
|
|
transparent
|
|
}
|
|
|
|
# third party login area provider example
|
|
# proxy /provider/simple 127.0.0.1:8999
|
|
|
|
# konnect authorize endpoint below third party login area provider
|
|
#proxy /provider/simple/konnect/v1/authorize 127.0.0.1:8777 {
|
|
# without /provider/simple
|
|
# header_upstream X-Forwarded-Prefix /provider/simple
|
|
# transparent
|
|
#}
|
|
|
|
# konnect cookieserver, start with python3 ./examples/cookieserver.py 8088
|
|
#proxy /cookieserver/simple-userinfo 127.0.0.1:8088
|
|
}
|