pfSense + HAProxy + Homer + CORS

Hey all,

I followed Tom’s excellent HAProxy video and most of my services work!

The only one I’m having a hard time with is Homer (a dashboard app). I’m getting CORS errors. I fixed most of them by adding this to my Frontend:

Along with this:

The only issue left is that 2x services on my Homer dashboard are giving me this error:

Anyone have any ideas on how to get passed the HTTP OK error?

Thanks a lot!

I think you need to enabled forwardfor on your frontend.

Thanks so much. Yep, I have that enabled and it helps with some of the services, but not this one.

hey, incase you didn’t figure it out. i was having the same issue and needed to add Authorization to the Access-Control-Allow-Headers since I was passing auth to uptime kuma

Thank you so much! I actually didn’t figure it out and switched to Traefik. No issues there.

But thank you for jumping back to this!