Discourse behind proxy (different domains)

(marioMAN) #1

Hello guys
we are running our website on www.example.com and our forum on forum.example.com
now we want our forum to run on www.example.com/forum

so I moved the forum.example.com to forum.example.com/forum using Subfolder support with Docker. This seems to work fine (I can access it via www.example.com/forum/) , but all our content still is forum.example.com so I renamed it to www.example.com following Change the domain name or rename my Discourse?. But now when I go forum.example.com it redirects me to www.example.com and when I go to www.example.com/forum/ still sends me back to www.example.com

Any ideas about how to do this properly?