Welcome! Log In Create A New Profile

Advanced

Re: need help reverse-proxy config

January 10, 2017 01:53AM
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 /var/log/nginx/error-proxy_mail.log debug;
ssl on;
ssl_certificate /etc/ssl/certs/cert.org.chained.crt;
ssl_certificate_key /etc/ssl/private/iRedMail.key;
include /etc/nginx/sslciphers.conf;
ssl_session_timeout 60m;
ssl_handshake_timeout 10s;
proxy_connect_timeout 10s;
proxy_timeout 300s;
proxy_pass backendmail;
limit_conn straddr 15;
limit_conn_log_level error;
}

******
When tying to run the server:

nginx: [emerg] "ssl_handshake_timeout" directive is not allowed

If removing this directive :

nginx: [emerg] "proxy_timeout" directive is not allowed here

etc ...

I did respect the context this time.

Thx
Subject Author Posted

need help reverse-proxy config

Thierry January 09, 2017 01:18PM

Re: need help reverse-proxy config

itpp2012 January 09, 2017 01:43PM

Re: need help reverse-proxy config

Thierry January 09, 2017 11:47PM

Re: need help reverse-proxy config

Anoop Alias January 09, 2017 11:52PM

Re: need help reverse-proxy config

Thierry January 10, 2017 01:04AM

Re: need help reverse-proxy config

Anoop Alias January 10, 2017 01:22AM

Re: need help reverse-proxy config

Thierry January 10, 2017 01:53AM

Re: need help reverse-proxy config

Thierry January 10, 2017 04:34AM

Re: need help reverse-proxy config

Thierry January 10, 2017 08:41AM

Re: need help reverse-proxy config

Thierry January 10, 2017 11:22AM

Re: need help reverse-proxy config

Thierry January 11, 2017 01:06AM

Re: need help reverse-proxy config

Thierry January 11, 2017 12:38PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready