I use LXC, and mastodon runs in a container, all services binds to 0.0.0.0 and then it is served by nginx running on the host server reading from <container.ip>:3000, <container.ip>:4000
Now with the change in the Binding defaulting to 127.0.0.1, nginx wouldn’t be able to connect to the container services… so i followed the “upgrade notes” and edited my .env.production and added “BIND=0.0.0.0” then restarted everything, but only the streaming service (:4000) respects this, the puma one (:3000) still binds to 127.0.0.1
I did workaround it by editing systemd’s mastodon-web.service and added:
But i still wish to know if i did something wrong or maybe the upgrades instructions are unclear ? is my setup wrong, etc…?
Any input would be appreciated.