I’m running into a bug. To be totally honest, I think it’s a docker problem but since I’m using Docker only for Discourse I’m taking my chances and I think others might be interested here.
Recently my discourse install (https://forum.domainname.com/) was on the same server as my website (https://www.domainname.com/) with Nginx as reverse proxy.
I moved the discourse install to a new server with the same configuration (Nginx as reverse proxy). Everything was fine until I moved my website to the new server.
Some people told me that the Onebox feature wasn’t working anymore. As I investigated I realised that it wasn’t working only for my domain name.
So I tested entering the docker container and the thing is I can’t connect to my website from within the docker container, all other external IP are working but I can’t connect to my server external IP nor localhost.
Honestly I don’t understand why, the configuration is exactly the same as the old server.