Welcome! Log In Create A New Profile

Advanced

nginx chunked transfer encoding, cannot get it to work

September 15, 2014 08:08AM
I am using an implemention of nginx with jetty servlets.

For the purpose of my project I need to initialize two connection to the jetty servlet and keep them open.

To initialize the downlink I use a normal request and I get the inputstream back.
To initialize the uplink I use a chunked encoding request.

I use a 1.4.6 nginx version so the chunked encoding should be set by default, regardless I set it in my server definition.

Here's the code for my server.

#HTTPS server

server {
listen 443;
listen [::]:443;
server_name localhost;

ssl on;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;

ssl_session_timeout 5m;

ssl_protocols SSLv2 SSLv3 TLSv1;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_http_version 1.1;
expires off;
proxy_buffering off;
chunked_transfer_encoding on;
proxy_pass https://127.0.0.1:8080;
# root html;
# index index.html index.htm;
}
}

How can I get the nginx chunked transfer encoding downlink to work?

I have also done simple tests to make that it's not my apps implementation that's blocking it somehow and it still doesn't work.

Any ideas?
Thanks :)
Subject Author Posted

nginx chunked transfer encoding, cannot get it to work

nkolev September 15, 2014 08:08AM

Re: nginx chunked transfer encoding, cannot get it to work

Maxim Dounin September 15, 2014 09:38AM

Re: nginx chunked transfer encoding, cannot get it to work

jediknight September 20, 2014 03:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
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