Set-Cookie Manipulation in reverse_proxy

And it worked! Now the set-cookies are correctly set to domain=wannaexpresso.com.

I’m using caddy version (devel) and Caddyfile as follows:

canto.wannaexpresso.com {
  encode gzip
  reverse_proxy * http://canto.world-of-dungeons.org {
    header_up Host canto.world-of-dungeons.org
    header_down Set-Cookie world-of-dungeons.org wannaexpresso.com
  }
}

Thanks heavenly matt!

4 Likes