ngx_stream_log_module log_format not working

2019-03-16 Thread yuy
I am trying to enable access log for stream on 1.15.9-1~xenial but log_format definition doesn't seem to work. Config syntax check fails as if stream log_format was not defined > $ cat nginx.conf user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid/var/run/ng

Re: Nginx can’t proxy client certificate authentication

2019-03-16 Thread WoMa
Hi Francis I solved this problem maybe not elegantly but it works. 1) Client certificate authentication is set on the nginx side and not on haproxy ssl_client_certificate /etc/pki/tls/certs/CA_COPE_SZAFIR_TEST.cer; 2) Authentication is optional and not required ssl_verify_cli

Re: Nginx can’t proxy client certificate authentication

2019-03-16 Thread Francis Daly
On Fri, Mar 15, 2019 at 10:38:25AM -0400, WoMa wrote: Hi there, > I have path: request https -> nginx -> haproxy -> http application > It works fine until I add client certificate authentication on haproxy. > When I add client certificate authentication on haproxy I getting error on > nginx: Not

Re: File Downloads with reverse proxy

2019-03-16 Thread Francis Daly
On Fri, Mar 15, 2019 at 02:17:01PM +, Callum Scott wrote: Hi there, > I am having difficulty forcing downloads of mp4 files with a ?download > query in the url. > > I am proxying files from an s3 bucket like this > > location ~* ^/myvideo/content/(.*) { ... > proxy_pass h

Re: nginx directives geo and map behind proxy

2019-03-16 Thread Francis Daly
On Fri, Mar 15, 2019 at 10:34:40AM -0400, gogan wrote: Hi there, > In both situations I see real client IP addresses in server log on > webservers and proxy/loadbalancer. > > In situation 1 traffic is general limited without exceptions. > In situation 2 traffic is limited as expected, all is fi