From 5ba0d83fba42d21beecd99af3d52c3eec759978b Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 16 Mar 2018 08:00:28 +0000 Subject: Use Apache's own proxy protocol support --- etc/apache/httpd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf index 80534ea..0e044b6 100644 --- a/etc/apache/httpd.conf +++ b/etc/apache/httpd.conf @@ -55,7 +55,7 @@ LoadModule headers_module modules/mod_headers.so LoadModule expires_module modules/mod_expires.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so -LoadModule proxy_protocol_module modules/mod_proxy_protocol.so +LoadModule remoteip_module modules/mod_remoteip.so CacheRoot "/var/cache/apache2/" CacheEnable disk / @@ -66,7 +66,7 @@ ExpiresActive on ExpiresByType image/png A86400 ExpiresByType text/css A86400 ExpiresByType application/x-javascript A86400 -ProxyProtocol on +RemoteIPProxyProtocol On Options FollowSymLinks Indexes ExecCGI -- cgit v1.2.3