notdeadyet@lemmy.notdead.netOPtoSelf Hosted - Self-hosting your services.@lemmy.ml•Caddy Reverse Proxy issue
2·
1 year agoThis line here was my problem:
Cache-Control "public,max-age=86400,s-maxage=86400,max-stale=3600,stale-while-revalidate=86400,stal>
}
If you want cache control you can just lower the values, I chose to just remove the setting altogether and the problem was solved.
Fixed this by setting totp_2fa_secret and totp_2fa_url to null in the postgres database for my local user!