The discussion revolves around issues encountered when running Discourse on a non-443 port, such as 3443. tom_eric reports multiple problems, including email failures, users being redirected to unreachable interfaces after registration, and images not loading. Even after changing the port, the Discourse logo fails to load, and the default post image wall is disabled. tom_eric tried setting DISCOURSE_PORT: 3443 and DISCOURSE_FORCE_HTTPS: true but found many images still fail to load, such as https://mydomain/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_32x32.png. The user also notes that after login, users are redirected to https://domain/latest, which doesn’t work on non-standard ports. pfaffman clarifies that Discourse won’t work on port 3443 because many components are hardcoded to port 443. tom_eric acknowledges this but expresses interest in pushing the setup further, such as running multiple sites. pfaffman suggests using a reverse proxy like Traefik for multiple sites, as Discourse isn’t designed to run on non-standard ports without significant modifications. tom_eric reiterates the desire to explore this further, even if it’s not cost-related.
Some of the issues I found include email failure, and users are also redirected to an unreachable interface after registration.
Additionally, the default post image wall is also disabled, and none of the uploaded images can be loaded.
Even after changing it to port 3443, I found that the Discourse logo cannot be loaded.
It seems that many problems have occurred
Is there a way to fix it with one click? Thank youSome of the issues I found include email failure, and users are also redirected to an unreachable interface after registration.
Additionally, the default post image wall is also disabled, and none of the uploaded images can be loaded.
Even after changing it to port 3443, I found that the Discourse logo cannot be loaded.
Moreover, I found that after users log in, they are automatically redirected to https://domain/latest, and the default port 3443 is not added, causing it to fail to load. At this point, you must manually add https://domain:3443/latest.
Yes, I know there are many components hardcoded to port 443. My port 443 is not usable, so I had to switch to port 3443. Currently, many functions are not working. I thought someone had studied this issue
If you want multiple sites then you either need multisite or a reverse proxy. I usually use traefik, but nginxproxy/nginx-proxy - Docker Image is a little easier. Just add some docker labels and it works.