notdeadyet

joined 2 years ago
[–] notdeadyet@lemmy.notdead.net 1 points 2 years ago* (last edited 2 years ago)

I fixed it, added a comment with what worked. Thanks for pointing me in the right direction!

[–] notdeadyet@lemmy.notdead.net 1 points 2 years ago (1 children)

Fixed this by setting totp_2fa_secret and totp_2fa_url to null in the postgres database for my local user!

[–] notdeadyet@lemmy.notdead.net 2 points 2 years ago (1 children)

This 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.

[–] notdeadyet@lemmy.notdead.net 0 points 2 years ago (3 children)

Nailed it, that was the issue. Missed the line of code that had my cache options set too long. Thank you!

 

Hello,

This may not be the place to ask this, but has anyone had the issue of pages that are proxied through Caddy not "auto-refreshing"?

For example, I use glances (similar to HTOP) to monitor my unraid server, and when it is reverse proxied I need to force a ctrl-F5 to see updates. When using the local IP, it updates every few seconds as normal.

Is there a setting I need to change to allow Caddy to do auto-refreshing?

[–] notdeadyet@lemmy.notdead.net 1 points 2 years ago

Awesome I'll give that a try! Thanks :)

[–] notdeadyet@lemmy.notdead.net 1 points 2 years ago (2 children)

@db0@lemmy.dbzer0.com What settings do you use for your images? I have tried to make a couple and they turn out awful to say the least...