ERR_TOO_MANY_REDIRECTS while installing Discourse behing Nginx Proxy Manager

AI-generated summary

Cedric is experiencing an ERR_TOO_MANY_REDIRECTS error while trying to install Discourse behind Nginx Proxy Manager (NPM), cohosted with other services. He followed a guide to configure Discourse to run on the same network as NPM but still faces the issue. The error appears in the browser console, affecting CSS and SVG resources. NateDhaliwal suggests that using --net=frontend in the launcher command might be unsupported, but Cedric counters that the method is documented and works for others. Pfaffman advises ensuring consistent lowercase hostnames across all configurations, referencing a related discussion.

I want to install Discoursed cohosted with other web services behing nginx proxy manager. For that I have followed this Guide

But practically when I go to my discourse website I get this

Practically I have

  • created an A Record on DigitalOcean for my Discourse address
  • modified the app.yml as per the guide
  • reconfigured discourse and made it run on the same network as npm

./launcher rebuild app --docker-args --net=frontend

Then configured nginx proxy manager



Any idea what to do?

By the way, the detail of the error is the following

Failed to load resource: net::ERR_TOO_MANY_REDIRECTS /stylesheets/color_definitions_dark_1_1_919daf7786118eb09d749c4d7425b695694188b1.css?__ws=discourse.xxxx.xx:1
Failed to load resource: net::ERR_TOO_MANY_REDIRECTS tada.svg:1
Failed to load resource: net::ERR_TOO_MANY_REDIRECTS /stylesheets/color_definitions_base__1_2238ed4d041cb1b714d0d519a1feb695d5b2b254.css?__ws=discourse.xxxx.xxx:1
Failed to load resource: net::ERR_TOO_MANY_REDIRECTS discourse.xxxxx.xxx/:1

This might me the source of your problem, I think. I’m fairly certain this isn’t supported.

No, it is documented and works well, some other users seems to have done it properly and the thread I linked.
Practically it connects the discourse docker to the docker network of my choice.

Make sure that everything is using the same hostname and you have them in lower case. Failed new install - #6 by Heliosurge