I was able to sort it out. My config was missing proxy_http_version 1.1; .



On 27.01.2014 20:07, Matthias Richter wrote:
> that is strange because I cannot see any requests in the backend log file. 
> curl requests from command line pop up there though.
>
> so curl -X(DELETE|PUT|POST) localhost:8080/api does show requests in the logs,
> nginx passing them through does not?
>
> Thanks,
>
> Matthias
>
>
> ________________________________________
> Von: [email protected] [[email protected]]" im Auftrag von 
> "Jonathan Matthews [[email protected]]
> Gesendet: Montag, 27. Januar 2014 18:36
> Bis: [email protected]
> Betreff: Re: nginx seems to proxy only http GET
>
> On 27 January 2014 17:24, Matthias Richter <[email protected]> 
> wrote:
>> Hi,
>>
>> I'm using nginx to offload https to http. That works well but in my
>> backend only GET Requests seem to get through. For all POST, PUT and
>> DELETE I only receive a Status 400 with conten "HTTP method POST is not
>> supported by this URL".
> That's your backend telling you that, not nginx.
>
> J
>
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to