A user reported that the Dockerfile in Discourse’s official self-hosted install instructions references an end-of-life version of Nginx (1.21.6), which is no longer supported davidjones. The issue was moved to the Bug category pfaffman, and Falco confirmed it was assigned to them. A new Docker image with the updated, latest Nginx version (alongside other improvements) was shipped the following week Falco. However, users running multiple reverse proxy layers are cautioned: Nginx changed how it handles duplicate headers, which may affect unusual setups despite efforts to cover common cases.
New image with latest nginx (among other things) was shipped last week.
Nginx change how multiple instances of the same header are treated, so if you are running multiple reverse proxy layers be careful with the update. We did our best to handle the common cases, but some weirder setups may be affected.