Enable CORS in Nginx

Enable CORS in Nginx

To enable CORS in nginx, add following inside web sites sevrer config. Restart nginx See CORS

CORS

CORS

Enable CORS in Apache Enable CORS in Nginx

Enable CORS in Apache

Enable CORS in Apache

To enable CORS in apache, add the following in VirtualHost or .htaccess If your apache installation don’t have mod_headers installed,