Welcome! Log In Create A New Profile

Advanced

need help reverse-proxy config

January 09, 2017 01:18PM
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 with the same
version of Nginx (1.9).

I have tried many configs without any success.
My last one:

***********************************************************************

server {
listen 446;
server_name email.domain.ltd;

location / {
proxy_pass https://email_server_ip:446;

proxy_ssl_certificate /etc/ssl/certs/cert.chained.crt;
proxy_ssl_certificate_key /etc/ssl/private/private.key;
proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
proxy_ssl_ciphers HIGH:!aNULL:!MD5;
proxy_ssl_trusted_certificate /etc/ssl/certs/cert.chained.crt;

proxy_ssl_verify on;
proxy_ssl_verify_depth 2;
proxy_ssl_session_reuse on;
error_log /var/log/nginx/error-proxy.log;
access_log /var/log/nginx/access-proxy.log;
}
}

Can I please have some help ??
Thx


--
Cordialement,
Thierry e-mail : lenaigst@maelenn.org
PGP Key: 0xB7E3B9CD

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 97
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