diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-16 08:00:28 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-03-16 08:00:28 +0000 |
commit | 5ba0d83fba42d21beecd99af3d52c3eec759978b (patch) | |
tree | 84f6b7ae6c76280eabcbbb00b71bec3d4a825d94 | |
parent | Initial commit of ocfs2 cluster.conf (diff) | |
download | config-5ba0d83fba42d21beecd99af3d52c3eec759978b.tar.bz2 config-5ba0d83fba42d21beecd99af3d52c3eec759978b.tar.xz config-5ba0d83fba42d21beecd99af3d52c3eec759978b.zip |
Use Apache's own proxy protocol support
-rw-r--r-- | etc/apache/httpd.conf | 4 |
1 files 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 <Directory /> Options FollowSymLinks Indexes ExecCGI |