1. Caddy version (caddy version
):
v2.2.1 h1:Q62GWHMtztnvyRU+KPOpw6fNfeCD3SkwH7SfT1Tgt2c=
2. How I run Caddy:
caddy run --config /opt/caddy/Caddyfile
a. System environment:
Ubuntu 20.04
d. My complete Caddyfile or JSON config:
apps.host.us {
route /auth* {
auth_portal {
path /auth
backends {
google_oauth2_backend {
method oauth2
realm google
provider google
client_id {$GOOGLE_CLIENT_ID}
client_secret {$GOOGLE_CLIENT_SECRET}
scopes openid email profile
user user@host.us add role verified
}
}
jwt {
token_name access_token
token_secret {$JWT_SECRET}
token_issuer {$JWT_ISSUER}
token_lifetime 604800
}
}
}
route /tautulli* {
jwt
reverse_proxy /tautulli* localhost:8181
}
3. The problem I’m having:
I’m trying to setup Google oAuth and make all my sites underneath prompt for login as I used to have setup in v1 but can’t quite seem to piece together the new plugins as I’m sure I’m missing something simple.
4. Error messages and/or full log output:
Internal Server Error