We are trying to use standard implementation of CORS ( cross origin shared resources ) with HAProxy 2.2:
HAProxy version 2.7.2-7e295dd 2023/01/20
Built with Lua version : Lua 5.4.4
After implementation we observed that this is working.
I am following this manual: Enabling CORS in HAProxy - HAProxy Technologies
I would like any origin (*) to be able to make the request.
I attach the configuration of my haproxy.cfg file:
http-request lua.cors “GET,PUT,POST” “" "”
Even if I put the hosts name it doesn’t work for me.
http-request lua.cors “GET,PUT,POST” “static.oracle.com” “*”
can anybody help me?
Th for all!!