[pve-devel] [PATCH manager v2 3/3] fix #5699: pveproxy: add settings for real IP support
Thomas Skinner
thomas at atskinner.net
Thu Dec 12 04:27:06 CET 2024
Signed-off-by: Thomas Skinner <thomas at atskinner.net>
---
PVE/Service/pveproxy.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/Service/pveproxy.pm b/PVE/Service/pveproxy.pm
index ac108545..df3601bd 100755
--- a/PVE/Service/pveproxy.pm
+++ b/PVE/Service/pveproxy.pm
@@ -115,6 +115,8 @@ sub init {
honor_cipher_order => $proxyconf->{HONOR_CIPHER_ORDER},
},
compression => $proxyconf->{COMPRESSION},
+ proxy_real_ip_header => $proxyconf->{PROXY_REAL_IP_HEADER},
+ proxy_real_ip_allow_from => $proxyconf->{PROXY_REAL_IP_ALLOW_FROM},
# Note: there is no authentication for those pages and dirs!
pages => {
'/' => sub { get_index($self->{nodename}, @_) },
--
2.39.5
More information about the pve-devel
mailing list