Your question
I’m trying to set up a stalwart server inside of an lxc container, but can’t figure out how to bootstrap it remotely. My server install is headless so I would normally use nginx reverse proxy to expose my services, but before bootstrapping I can’t figure out how to change my trusted proxy settings to include the host device. Thank you very much for your time
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on
The setup wizard is meant to be done directly against the container’s HTTP listener, not through the reverse proxy; the proxy and trusted-network config come afterward. From the LXC host or any machine on the same bridge, point a browser at the container’s IP on port 8080: http://:8080/admin. If the host is headless, tunnel it over SSH, e.g. ssh -L 8080::8080 and then open http://localhost:8080/admin.
Once you’ve completed the wizard and the server restarts, set proxyTrustedNetworks (System Settings, Network) to your proxy/host address and put nginx back in front. Docs: Overview | Stalwart (the “Initial setup behind a proxy” section).