I was wondering if someone could shed some light on the issue im having,
Currently im testing out to TLS pass though to my zimbra server as the SSL has to be in the zimbra server and another wordpress site which also has the SSL
the setup would this this
INTERNET--------NGINX PROXY-------ZIMBRA and ------WORDPRESS SITE
I successfully configured the nginx proxy to TLS passthough but i checked the logs and it seems that not passing the real IP to zimbra or to wordpress
But couldn't figure it out because it wont let me send the proxy headers because im using the TLS passthough
root@bunker:~# cat /etc/nginx/modules-enabled/passtru.conf
stream {
map $ssl_preread_server_name $name {
wordpress.domain.com wordpress;
mail.domain.com zimbra;
default https_default_backend;
}
upstream wordpress {
server 192.168.7.35:443;
}
upstream zimbra {
server 192.168.7.245:443;
}
log_format basic '$remote_addr [$time_local] '
'$protocol $status $bytes_sent $bytes_received '
'$session_time "$upstream_addr" '
'"$upstream_bytes_sent" "$upstream_bytes_received"
"$upstream_connect_time"';
access_log /var/log/nginx/access.log basic;
error_log /var/log/nginx/error.log;
server {
listen 443;
proxy_pass $name;
proxy_next_upstream on;
ssl_preread on;
}
}