mastodon: use caddy to redirect register, forgot

password, resend confirmation links
This commit is contained in:
teutat3s 2022-11-29 02:32:32 +01:00
parent fbb85d2f87
commit 349882ba4b
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -64,6 +64,9 @@ services:
root * /srv
file_server
}
redir /auth/sign_up https://auth.pub.solar/realms/pub.solar/login-actions/registration?client_id=mastodon temporary
redir /auth/confirmation/new https://auth.pub.solar/realms/pub.solar/login-actions/reset-credentials?client_id=mastodon temporary
redir /auth/password/new https://auth.pub.solar/realms/pub.solar/login-actions/reset-credentials?client_id=mastodon temporary
reverse_proxy @streaming {
to http://$$UPSTREAM_STREAMING_DOMAIN:$$UPSTREAM_STREAMING_PORT
}