AW: nginx seems to proxy only http GET

Matthias Richter matthias.richter at identpro.de
Tue Jan 28 09:08:30 UTC 2014


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: nginx-bounces at nginx.org [nginx-bounces at nginx.org]" im Auftrag von "Jonathan Matthews [contact at jpluscplusm.com]
> Gesendet: Montag, 27. Januar 2014 18:36
> Bis: nginx at nginx.org
> Betreff: Re: nginx seems to proxy only http GET
>
> On 27 January 2014 17:24, Matthias Richter <matthias.richter at identpro.de> 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
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>


More information about the nginx mailing list