Caddy: Auth cookie is not used by other subdomains

This is caused by Caddy not adding the necessary headers when forwarding the login request to Organizr.

Using the "transparent" preset or manually adding the necessary headers solves the issue.

For example:

organizr.example.com {
  proxy / http://organizr.internal {
    transparent
  }
}

See: https://caddyserver.com/docs/proxy


Revision #5
Created Mon, Jun 3, 2019 2:05 AM by Guest
Updated Wed, Jun 5, 2019 9:30 PM by CauseFX