I have a problem where a server hosted in a docker cannot be accessed when behind pfsense haproxy. Please help me identify what configuration mistake I have done or a setting that I may have overlook.
I have setup a docker server and setup portainer, freshrss and joplin in it. All of those will only be accessed internally via haproxy. If I access them directly they are working fine:
Joplin has a GitHub issue for reverse proxies. I don’t know it right off the top of my head but I ran into this when I was setting up a Joplin server in docker.
EDIT:
The issue is closed but you will need to find a way to add what people are suggesting in the comments.
Sounds like you are treating HAProxy as a security service, like a VPN. This is arguably incorrect.
Also, keep in mind you are running a high profile and very exposed piece of code directly on your router. This is bad design. Instead of running this service on a separate device, tucked away in a isolated VLAN, you have it running naked on your router. I think Netgage should remove this from their repository.
Apologies for the late reply, why did you say I am using HAProxy as a VPN? As mention in my initial post, I am using this to access Joplin internally and not exposed to the Internet.