From 79ce553686a0e1d6234cdb86844070a06c9d5890 Mon Sep 17 00:00:00 2001 From: cytopia Date: Thu, 22 Dec 2022 22:47:36 +0100 Subject: [PATCH] Fix bug in Reverse Proxy Protocol parsing for Apache 2.2/2.4 --- etc/templates/apache22.yml | 4 ++-- etc/templates/apache24.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/templates/apache22.yml b/etc/templates/apache22.yml index c40db44..619eaca 100644 --- a/etc/templates/apache22.yml +++ b/etc/templates/apache22.yml @@ -88,8 +88,8 @@ vhost_type: rproxy: | # Define the vhost to reverse proxy ProxyRequests off - ProxyPass __LOCATION__ __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__ - ProxyHTMLURLMap __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__ + ProxyPass __LOCATION__ __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ + ProxyHTMLURLMap __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__ ProxyPassReverse / SetOutputFilter proxy-html diff --git a/etc/templates/apache24.yml b/etc/templates/apache24.yml index b7ecb99..2ab661a 100644 --- a/etc/templates/apache24.yml +++ b/etc/templates/apache24.yml @@ -90,8 +90,8 @@ vhost_type: rproxy: | # Define the vhost to reverse proxy ProxyRequests off - ProxyPass __LOCATION__ __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__ - ProxyHTMLURLMap __PROXY_PROTO://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__ + ProxyPass __LOCATION__ __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ + ProxyHTMLURLMap __PROXY_PROTO__://__PROXY_ADDR__:__PROXY_PORT__ __LOCATION__ ProxyPassReverse / SetOutputFilter proxy-html