Only receiving an empty response with 200 status code when using CORS on Nginx 1.14

Francis Daly francis at
Thu Apr 4 23:17:16 UTC 2019

On Thu, Apr 04, 2019 at 02:10:16PM -0400, krionz wrote:

Hi there,

> I have been trying to do this without success since December 20, 2018. And i
> still haven't got any answer. Am i missing something on my question? How
> could i improve it ?

Can you show the request you make and the response you get? "curl -v"
is probably good to use.

When I try something similar, just using an "echo" fastcgi script,
I get the expected http response and content for GET, POST, and OPTIONS.

Tested against nginx/1.14.0.


Francis Daly        francis at

More information about the nginx mailing list