Re: How to preserve nginx url from being redirected (302) from back end tomcat server?

2015-12-12 Thread B.R.
Your proxy_redirect rule does not match what is returned from your backend. Remove the "https" prefix maybe? Since you want to redirect to the current hostname, you could also use the $host variable. Then, since your server block is configured to only listen on SSL port, you could also take advanta

How to preserve nginx url from being redirected (302) from back end tomcat server?

2015-12-12 Thread pjudt
Newby working for a couple weeks. Any guidance really appreciated. Nginx is not preserving the url from redirected backend tomcat server. Nginx url: //develop-application.example.com/ Backend tomcat url: //application.example.com/ tomcat redirects url: //application.example.com/application I

Re: How to set up nginx for file uploading

2015-12-12 Thread Vlad Fulgeanu
The problem is that I have tested the application locally (without nginx) and the uploading works just fine. That's why I think it has something to do with de way nginx is configured. On Fri, Dec 11, 2015 at 6:07 PM, Richard Stanway wrote: > "The response had HTTP status code 503. " > > It looks

Re: nginx-1.9.8

2015-12-12 Thread Sergey Kandaurov
On 12.12.2015 18:05, chi...@gmail.com wrote: A exciting feature for ngx_http_slice_module, I test it,but too many upsteam connections,could I limit the count of connection? You could cache upstream connections. See for details: http://nginx.org/r/keepalive ___

Re: nginx-1.9.8

2015-12-12 Thread chi...@gmail.com
A exciting feature for ngx_http_slice_module, I test it,but too many upsteam connections,could I limit the count of connection? 在 15/12/9 上午12:09, Maxim Dounin 写道: Changes with nginx 1.9.8 08 Dec 2015 *) Feature: pwritev() support. *) Feature: