Re: need help reverse-proxy config

2022-05-16 Thread kalai1302
. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271891,294180#msg-294180 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: need help reverse-proxy config

2017-01-11 Thread Thierry
I gave up ... No fresh ideas anymore :( Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271891,271940#msg-271940 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: need help reverse-proxy config

2017-01-10 Thread Thierry
seems to be link to my ssl certificate ... Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271891,271919#msg-271919 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: need help reverse-proxy config

2017-01-10 Thread Thierry
I am still debugging a bit: 2017/01/10 18:17:59 [debug] 5174#5174: accept mutex lock failed: 0 2017/01/10 18:17:59 [debug] 5174#5174: epoll timer: 500 2017/01/10 18:17:59 [debug] 5172#5172: epoll: fd:13 ev:0005 d:7F81B6D351D0 2017/01/10 18:17:59 [debug] 5172#5172: *1 http keepalive handler 201

Re: need help reverse-proxy config

2017-01-09 Thread Thierry
Thx a lot ... I do understand better now. In my nginx.conf I do have: * stream { limit_conn_zone $binary_remote_addr zone=straddr:10m; upstream backendmail { server email.domain.tld:448; } } * In my server.conf I do have: * server { listen 448 ssl; error_log

Re: need help reverse-proxy config

2017-01-09 Thread Anoop Alias
main context means it come directly in nginx.conf http context means it should be put inside http{ } server context means it should be in server { } likewise.. You can search the directive like http://nginx.org/r/x_ For eg: http://nginx.org/r/stream check the context where that directi

Re: need help reverse-proxy config

2017-01-09 Thread Thierry
error_log /var/log/nginx/error.log info; events { worker_connections 1024; } stream { upstream backend { hash xxx.xxx.xxx.xxx consistent; server email.domain.tld:448; } server { listen 448; proxy_connect_timeout 1s; proxy_timeout 3s;

Re: need help reverse-proxy config

2017-01-09 Thread Anoop Alias
http://nginx.org/en/docs/stream/ngx_stream_core_module.html#stream stream should be in the main context. On Tue, Jan 10, 2017 at 10:17 AM, Thierry wrote: > proxy nginx[20076]: nginx: [emerg] "stream" directive is not allowed here > in > /etc/nginx/conf.d/reverse-proxy.conf:47 > > Posted at Ngin

Re: need help reverse-proxy config

2017-01-09 Thread Thierry
proxy nginx[20076]: nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/reverse-proxy.conf:47 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,271891,271897#msg-271897 ___ nginx mailing list nginx@nginx.org http://mailma

Re: need help reverse-proxy config

2017-01-09 Thread itpp2012
stream { limit_conn_zone $binary_remote_addr zone=straddr:10m; upstream backendsmtp { server smtp1.local:25; server smtp2.local:25; } server { listen 2025 ssl; error_log /logging/stream_local_smtp.log debug; ssl_certificate /nginx/crts/sdom.cert; ssl_certificate_k

need help reverse-proxy config

2017-01-09 Thread Thierry
Dear, I have a reverse-proxy in front of my two servers: web (apache2) and email (nginx-iredmail). The proxy-reverse is perfectly working with my web server running Apache2, but I am not able to make it working for my email server. The reverse-proxy and the email server are both running wi