go-ssr-pocketbase-oauth-att.../middleware
efim a367ed9a34 fix: setting Secure behind nginx
bug was due to having explicit 'serve --http=address' when running
behind nginx on NixOS server
So either a more complicated check was required, or just setting
Secure=true unconditionally.

This seems to be a better way, because Firefox already allows secure
cookies beng sent and received from localhost for dev purposes, and
Chromium does too
2023-10-09 05:08:59 +00:00
..
auth.go fix: setting Secure behind nginx 2023-10-09 05:08:59 +00:00