C
chocolateimage

  • Dec 18, 2024
  • Joined Aug 2, 2023
  • 2 discussions
  • 10 posts
  • 2 best answers
  • Post posted... wait what? You got the answer!
  • After switching to Cloudflare and making the webmail website to a subdomain (webmail.XXXXXXX.XXX), SOGo redirects to https://127.0.0.1: PORTNUMBER/SOGo/so/ instead of https://webmail.XXXXXX.XXX/SOGo after logging in. I have checked mailcow.conf but I didn’t see anywhere where you can set the SOGo redirect. I can manually change the 127.0.0.1 to webmail.XXXXXX.XXX and it works.

    • chocolateimage likes this.
    • epikur-io I got it working by doing proxy_set_header Host $host then it worked. (I did set header to the response instead of to the proxy request as a mistake)