nginx add cors header in server block code example Example: nginx enable cors add_header Access-Control-Allow-Origin *;