Welcome! Log In Create A New Profile

Advanced

Re: your mail

Francis Daly
February 27, 2018 03:20AM
On Tue, Feb 27, 2018 at 12:29:54PM +0530, Pritam Chavan wrote:

Hi there,

> I have checked my backend system It is working fine. If I hit same url
> without nginx reverse proxy its giving proper output.
> Example: For following configuration
>
> location /bsg/ltp/live/$arg_name/$arg_name {
> proxy_pass http://localhost:8041;
> }

For info, you are almost certainly not actually using that location{} block.

$variables are not expanded in "location" directives.

It may well be that your :8041 backend is working fine; but the error
message you showed was about your :8042 backend; and as far as nginx
was concerned:

upstream sent invalid chunked response

> If I hit above url without nginx reverse proxy then its giving proper
> output.

How do you know?

Can you use something like "tcpdump" to show the traffic from the backend
when nginx reports a problem, and when things work correctly?

Perhaps that will show what the difference is.

In the logs you provided, the request was "GET /bsg/scrips"; does nginx
always report a problem when you make that request?

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

(no subject)

pritamc99 February 26, 2018 02:06AM

Re: your mail

Maxim Dounin February 26, 2018 08:06AM

RE: your mail

Pritam Chavan February 27, 2018 02:04AM

Re: your mail

Francis Daly February 27, 2018 03:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 112
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready