Welcome! Log In Create A New Profile

Advanced

(no subject)

February 26, 2018 02:06AM
Hi All,

I am using open source NGINX as reverse proxy. There are certain URL which
have URL parameters.

I am getting following error while accessing this URL.

2018/02/22 15:11:08 [error] 1606#0: *21 upstream sent invalid chunked
response while reading upstream, client: 10.109.1.4, server:
XXX.XXXXXXXX.com, request: "GET /bsg/scrips HTTP/1.1", upstream: "
http://127.0.0.1:8042/bsg/scrips", host: "XXX.XXXXXXXX.com:8030"

2018/02/22 15:11:47 [error] 1606#0: *24 upstream sent invalid chunked
response while reading upstream, client: 10.109.1.4, server:
XXX.XXXXXXXX.com, request: "GET /bsg/scrips HTTP/1.1", upstream: "
http://127.0.0.1:8042/bsg/scrips", host: "XXX.XXXXXXXX.com:8030"

The nginx.conf for above is

# For more information on configuration, see:

# * Official English Documentation: http://nginx.org/en/docs/

# * Official Russian Documentation: http://nginx.org/ru/docs/

user nginx;

worker_processes auto;

error_log /var/log/nginx/error.log;

pid /var/run/nginx.pid;

# Load dynamic modules. See /usr/share/nginx/README.dynamic.

include /usr/share/nginx/modules/*.conf;



events {

worker_connections 1024;

}

http {

client_body_buffer_size 10M;

server {

listen 8030;

server_name xxx.xxxxxxxx.com;



location /bsg/ltp/live {

proxy_pass http://localhost:8041/bsg/ltp/live;

}

location /bsg/ltp/ {

proxy_pass http://localhost:8041/bsg/ltp/;

}

location /bsg/ltp/live/$arg_name {

proxy_pass http://localhost:8041;

}

location /bsg/ltp/live/$arg_name/$arg_name {

proxy_pass http://localhost:8041;

}

location /bsg/ltp/closing {

proxy_pass http://localhost:8041/bsg/ltp/closing;

}

location /bsg/ltp/closing/$arg_name {

proxy_pass http://localhost:8041;

}

location /bsg/ltp/closing/$arg_name/$arg_name {

proxy_pass http://localhost:8041;

}

location /bsg/scrips {

proxy_pass http://localhost:8042/bsg/scrips;

}

location /bsg/scrips/find/isin/$arg_name {

proxy_pass http://localhost:8042;

}

location /bsg/scrips/find/bse-code/$arg_name {

proxy_pass http://localhost:8042;

}

location /bsg/scrips/find/nse-symbol/$arg_name {

proxy_pass http://localhost:8042;

}

location /bsg/scrips/find/group/$arg_name {

proxy_pass http://localhost:8042;

}



location /bsg/ucm/pincode/$arg_name {

proxy_pass http://localhost:8043;

}

location /bsg/ucm/ifscode/$arg_name {

proxy_pass http://localhost:8043;

}

location ucic/customerid {

proxy_pass http://localhost:8044/ucic/customerid;

}



}

log_format main '$remote_addr - $remote_user [$time_local] "$request"
'

'$status $body_bytes_sent "$http_referer" '

'"$http_user_agent" "$http_x_forwarded_for"';



access_log /var/log/nginx/access.log main;

sendfile on;

tcp_nopush on;

tcp_nodelay on;

keepalive_timeout 65;

types_hash_max_size 2048;

Include /etc/nginx/mime.types;

default_type application/octet-stream;



# Load modular configuration files from the /etc/nginx/conf.d directory.

# See http://nginx.org/en/docs/ngx_core_module.html#include

# for more informationi

nclude /etc/nginx/conf.d/*.conf;

}

Thanks & Regards,

Pritam Chavan.
_______________________________________________
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: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready