Open corsnginx opened 2 years ago
There is not enough information here for me to help.
Somewhere, a server is clearly generating 500 Internal Server Error. It's not CORS Anywhere itself, and according to you your error log is empty. You've set error_level
to crit
. I don't know if that could potentially be hiding errors, but if it does you could try to increase the log verbosity by setting it to something different, as documented at https://nginx.org/en/docs/ngx_core_module.html#error_log
Hi, thank you for the helpful package! I am already using cors-anywhere locally to proxy requests. Now I need to install it to a server where it runs behind nginx. I tried to follow the issues that discussed a solution to this problem, but still with no success.
https://github.com/Rob--W/cors-anywhere/issues/143#issuecomment-452468128 https://github.com/Rob--W/cors-anywhere/issues/173
My frontend requests the cors proxy at https://backend.tld/cors/https://...
My nginx config looks like this:
I configured the cors-anywhere server to log incoming requests, but I don't get any output. The nginx server returns "500 Internal Server Error" for all requests under "https://backend.tld/cors/https://...", but I dont have any errors in my logfile. At this point I assume I am just being stupid, because the related issues are already pretty detailed but I just cant figure it out and any help would be greatly appreciated.