CORS configuration HELP!

HI!!

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:
global
lua-load /etc/haproxy/cors.lua

frontend my_frontend
http-request lua.cors “GET,PUT,POST” “" "
http-response lua.cors

Even if I put the hosts name it doesn’t work for me.
frontend my_frontend
http-request lua.cors “GET,PUT,POST” “static.oracle.com” “*”
http-response lua.cors

can anybody help me?

Th for all!!