I have 2 containers (1 discourse and 1WordPress) and an Nginx reverse proxy routing traffic to
- WordPress: any URLs without
/community
aftermydomain . com
- Discourse: when the URL is
mydomain . com/community
.
It has been working well for a year. After the update 2.5.0.beta6 I noticed that when I was going to mydomain . com /community
it is being rewritten to mydomain . com
but it’s not being redirected to mydomain . com
so discourse works fine (except some 404 in the console).
If I go to a topic, I get the URL rewritten with /community
in it.
If I go to the admin part, I don’t get the /community
but I can still do any modification in the admin.
Of course, if I manually refresh the page when /community
is not in the URL, I get redirected to the WordPress
If you want to see it in action: brigadedufric . com/community/
(remove spaces)
- How can I try to fix this?
- If it’s too complicated I might just move everything from subfolder to subdomain to avoid any problem in the future. Any recommendations about the way to go and things to not forget?