How do you send CORS header with NGINX Proxy Manager?

Hi,

in case you are still interested:

domain: hassio.localdomain
certfile: fullchain.pem
keyfile: privkey.pem
hsts: max-age=31536000; includeSubDomains
cloudflare: false
customize:
  active: true
  default: /nginx.conf
  servers: nginx_proxy/*.conf

and then creating a file called “nginx.conf” in the /share dir with e.g.

add_header Access-Control-Allow-Origin *;

(example might expose security risks)