HAProxy: Setting Up CORS
It’s been awhile since my last post – quite tight up with business and development – and here we are, just sharing a new thing I learnt – HAProxy.
Currently I have a mobile application need to consume my API (Laravel based) – and I have no problem setting up CORS from Laravel.
But working on a bit scale up infrastructure, and in HA architecture, need to setup CORS on load balancer, which is HAProxy.
Following are the minimal setup to make API working with HAProxy.