From 741500331337088cc6b6007d0063ebd8553720a7 Mon Sep 17 00:00:00 2001 From: Petro1990 Date: Sat, 14 Mar 2026 22:45:34 +0300 Subject: [PATCH] =?UTF-8?q?rproxy=20v1.8.3:=20=D1=83=D0=BB=D1=83=D1=87?= =?UTF-8?q?=D1=88=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=BE=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B2=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D0=BF=D1=83=D1=82=D1=8F=D1=85=20(=D0=B7?= =?UTF-8?q?=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D0=BA=D1=83=D0=BA=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rproxy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rproxy b/rproxy index 00ef63c..980dedf 100644 --- a/rproxy +++ b/rproxy @@ -3,7 +3,7 @@ # Публикация локальных сервисов через SSH-туннели + nginx на VPS # https://github.com/l-ptrol/rProxy -VERSION="1.8.2" +VERSION="1.8.3" export PATH="/opt/bin:/opt/sbin:$PATH" CONF_DIR="/opt/etc/rproxy" CONF_FILE="$CONF_DIR/rproxy.conf" @@ -1240,7 +1240,10 @@ generate_nginx_conf() { 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; + proxy_set_header X-Forwarded-Host \$host; + proxy_set_header X-Forwarded-Server \$host; proxy_cookie_domain "$t_host" "\$host"; + proxy_cookie_path / "$path"; proxy_redirect off; } NGINXEOF