If you've tried running n8n in Docker behind Nginx, you've probably hit one of these two mistakes. They're the reason for most "n8n works on localhost but not through my domain" posts you'll find in any n8n or self-hosting community.
Mistake 1: Using expose instead of ports in docker-compose
Wrong:
expose:"5678"
Correct:






