@dan I am using caprover as PaaS, and it has NGINX fully integrated. It's only happening on their latest version. I already raised an issue with them (https://github.com/caprover/caprover/issues/1035).

I tried to reconfigure their proxy manually but couldn't get it to work. I just rolled it back to their earlier version.