Specifically for apps that don't handle OPTIONS requests.
Of course I have read the section in the documentation for the Headers middleware Traefik Headers Documentation - Traefik. But that (unsurprisingly) doesn't appear to work when the upstream application doesn't handle OPTIONS requests and returns 404 for those requests.
Is there a way I can configure traefik to return a response for the preflight checks rather than forwarding them to the upstream server?
Solutions that have occurred to me, that I would rather avoid:
- Plugins
- Routing OPTIONS requests to a server that has the sole purpose of handling the preflight checks