how to avoid cors policy in nginx server code example Example: nginx enable cors add_header Access-Control-Allow-Origin *;