NginX SSL reverse mode, client ip address problem

2015-12-05 Thread WANJUNE
In NginX reverse mode, There is a problem that can't get real client's Ip address. If I use Http protocol, I can simply handle this problem with below http configuration. http { server { listen 80; location / { proxy_set_header X-forwarded-for; pro

output_buffers value breaks thread_pool/aio on 1.9.5+

2015-12-05 Thread Richard Kearsley
Hi Since 1.9.5, *) Change: now the "output_buffers" directive uses two buffers by default. The two buffers do not work with thread_pool/aio, the connection is closed at 32,768 bytes (size of one buffer) These messages are shown in the error log: [alert] 126931#126931: task #106 already active

Re: web application to call C code

2015-12-05 Thread itpp2012
Your better of with Lua (embedded in nginx), search for openresty. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,263295,263296#msg-263296 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

web application to call C code

2015-12-05 Thread gideon425 . gb8
I am writing a web application and am interested in whether I can use nginx. For each request for the web server, I want it to call some C code I have written. The code C will generate the HTML I want to send back. Is there a simple way to do this? -- This message was sent from a MailNu

Re: OCSP malformedrequest with 1.9.7 and openssl 1.0.2e

2015-12-05 Thread agruener
Dear Maxim, thanks for your ideas. I think I have not fully understand this matter, yet ;-) - check if OCSP requests from other clients (e.g., browsers) work; note that openssl's OCSP client will likely fail out of the box; ---> it does not work with openssl on Ubuntu 14.04 LTS (OpenSSL 1.0.1f