Ters proxy kuracağınız sunucuya nginx kurun.
Sunucu ubuntu 16 olsun.
apt-get install nginx
yazıp kurun nginx i.

/etc/nginx/nginx.conf dosyasını düzenleyin.
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
bu iki satırı silin.
Sildiğiniz yere aşağıdaki kodları girin.
upstream backend  {
server 12.123.12.123;
}
server {
listen 80;
location / {
proxy_pass http://backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
IP adresini kendi sunucunuz ip adresi ile değiştirin.

Dosyayı kaydedin
ssh'dan
service nginx restart
yazın, ters proxy'niz hazır. Sadece http içindir, https isterseniz tek tek her site için sertifika tanımlamanız gerekir.