Help with filter module

2020-07-13 Thread redflag
Greetings all, i am writing a new Nginx filter module , the main issue is that when i try to read the request body it turn out to be null, is there a way to READ THE BODY?? i found an already existing module that could read the request body filter but it does not appear to be working, this is t

Re: Force SSL redirection to target service host for all protocols

2020-07-13 Thread siva.pannier
Hi there, I have tried doing TCP redirection to a backend TCP server with SSL enabled following the below URL. https://docs.nginx.com/nginx/admin-guide/security-controls/securing-tcp-traffic-upstream/ My TCP (non-ssl) client is able to hit the TCP Server (SSL enabled) via the Nginx (proxy_ssl) b

Re: proxy module handling early responses

2020-07-13 Thread Maxim Dounin
Hello! On Fri, Jul 10, 2020 at 09:40:52AM -0700, Frank Liu wrote: > If you read the same RFC, section 6.5, right before the section you > mentioned, you can see: > >A client sending a message body SHOULD monitor the network connection >for an error response while it is transmitting the r

Re: ngx_http_catch_body_filter doesn't appear to work

2020-07-13 Thread redflag
i still have the same issue, could you assist me please, Thank you in advance Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285923,288678#msg-288678 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

$ssl_client_escaped_cert forward client cert in URL encoded PEM only

2020-07-13 Thread Lyubenov, Branimir
Hello team, We use nginx as reverse proxy to a upstream endpoint which requires a client cert authentication. The proxy is configured to request a certificate from the browser and then to set a header in the proxy location block like: proxy_set_header SSL_CLIENT_CERT $ssl_client_escaped_cert; Th

Re: Found Nginx 1.19.0 stopped but no idea what happened

2020-07-13 Thread Evald80
Hi, The issue appeared again. I checked the memory and it is the same as previously. Something(within the nginx process) is eating the whole memory on the server or the nginx itself(who knows). In order to troubleshoot. The strategy will be to remove all the modules and leave only ModSec and wai