nginx enable cors domain with port code example Example: nginx enable cors add_header Access-Control-Allow-Origin *;