Plugins:
docker run -d --name caddy \
--restart unless-stopped --net=host \
-v $(pwd)/Caddyfile:/etc/caddy/Caddyfile \
-v $(pwd)/www:/www \
-v $(pwd)/certs:/root/.caddy \
-p 80:80 -p 443:443 \
ubox/caddy
docker run -d --restart unless-stopped --net=host --name caddy \
-v $(pwd)/Caddyfile:/etc/caddy/Caddyfile \
-v $(pwd)/www:/www \
-v $(pwd)/certs:/root/.caddy \
-v $(pwd)/sso.pem:/etc/caddy/sso.pem \
-p 80:80 -p 443:443 \
ubox/caddy
example.com {
root /www
gzip
}
europe1.example.com {
proxy / http://e1-live-mp3-128.scdn.arkena.com
}
am.example.com {
root /www
gzip
errors {
401 401.html
403 403.html
}
proxy / 127.0.0.1:9093 {
header_upstream -Token-Claim-HTTPS://SSO.example.com/APP_METADATA.AUTHORIZATION.GROUPS
transparent
}
jwt { path /
strip_header
allow https://sso.example.com/app_metadata.authorization.groups prom
publickey /etc/caddy/sso.pem
}
}
Content type
Image
Digest
Size
9.1 MB
Last updated
over 8 years ago
docker pull ubox/caddy