I updated this PR to provide nginx.conf advice on how to enable CORS properly based on @tyge's instructions.