Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
how to add cors headers similar to haproxy's rspadd .. etc
This would be much needed and common feature.
Need a quick fix to add (cors) headers to outgoing messages .. for now.
for ex: in haproxy's backend we add ,..
Restrictions on frontends can be added later.
@navinSing There are certainly situations where CORS from the backend is impractical.
We are in the process of dividing our backend from a monolith to many microservices. Together they expose one API. We do not want each of the services to decide the CORS header. We want one unified CORS header for the whole API – and that would fit nicely in our edge proxy.
there is a lot of security related headers, not just CORS : https://blog.appcanary.com/2017/http-security-headers.html