You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it comes to preflight OPTIONS requests, the only thing the browser really cares about is the access control headers. If we're making HAProxy responsible for handling all of these headers, it makes sense that it could also terminate the request, without needing to forward it through to an underlying api server.
This is something I know is possible with NGINX but I'm having a hard time finding information about how to do it with HAProxy. It would be nice if this library had some way of handling it, though barring that, some assistance in scripting it myself-- or even insight into whether or not this kind of thing is even possible with HAProxy-- would be super helpful.