Reverse proxy SSL connections and retain the originating IP address without terminating SSL at the mid-point. This makes use of the PROXY protocol.
This example setup uses nginx version: nginx/1.14.0 (Ubuntu)
as it ships out of the box with ubuntu 18.04.4 LTS. It was last tested on 2020-02-12.
DNS example.com
points to 192.168.10.10
192.168.10.10
has nginx installed with this in /etc/nginx/nginx.conf
OUTSIDE OF the http block