Okay, after some more resreach and reading some recent other forum posts I finally found the solution:
It’s actually very easy I I feel kind of stupid now that it took me SO long to finally fix this.
You just have to set the “real_ips” parameter in the config.yml. I always misinterpreted this parameter which is why I discarded these approaches.
It already is enough to just set the container ip there but because of other proxy addesses appearing for after that I just included the whole private subnet here.
So this is my configuration of …./bwdata/config.yml that did the trick:
real_ips:
- 172.16.0.0/12
Of course you have to perform a “bitwarden.sh rebuild” and “bitwarden.sh start” after it