HAProxy: Setting Up CORS ?>

HAProxy: Setting Up CORS

Assalamualaikum,

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

five × 2 =