Nginx Cors Relay


Send any full url to /cors/ like: "/cors/https://voldrixia.com/"

Nginx site config file (/etc/nginx/sites-enabled/myDomain)
server {
  ...
  merge_slashes off;
  location ~ ^/cors/(.*) {add_header Access-Control-Allow-Origin *; proxy_pass $1$is_args$args;}
}