"ProxyAddHeaders Off" does not become effective in Apache httpd 2.4
Issue
- I configured
ProxyAddHeaders Offbut it does not become effective in Apache httpd 2.4. - When I configured
ProxyAddHeaders Offoutside<Proxy>setting in Apache httpd 2.4, it does not become effective. TheX-Forwarded-*headers (X-Forwarded-For,X-Forwarded-Host,X-Forwarded-Server, etc) are still passed to the backend server.
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
ProxyAddHeaders Off
<Proxy "*">
Require all granted
# ...(any other config)...
</Proxy>
Environment
- Red Hat Enterprise Linux (RHEL) 7.x
- Apache httpd 2.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
