diff --git a/roles/httpd/website/templates/website.conf b/roles/httpd/website/templates/website.conf index ba0d3efa0b..ba942346cb 100644 --- a/roles/httpd/website/templates/website.conf +++ b/roles/httpd/website/templates/website.conf @@ -63,11 +63,13 @@ SetOutputFilter DEFLATE {% endif %} + # tell apache to use X-Real-Ip for the real ip this request came from + RemoteIPHeader X-Real-Ip # Do not add proxy headers here as they were already added when we # first got the request and sent it to anubis. This fixes some applications # (like mailman/django) that don't deal well with duplicate x-forwarded-for # entries and keeps the non anubis behavior. - #ProxyAddHeaders off + ProxyAddHeaders off Include "conf.d/{{ site_name }}/*.conf"