Created
December 26, 2013 02:21
-
-
Save svs14/8128954 to your computer and use it in GitHub Desktop.
Setup HTTP reverse proxy in Apache. Add this configuration to /etc/apache2/conf.d/. Ensure proxy_http module for Apache is enabled.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_proxy_http.c> | |
ProxyRequests Off | |
ProxyPreserveHost On | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
# Reverse proxy template (replace <> with your respective settings) | |
ProxyPass /<context> http://localhost:<port>/<context> | |
ProxyPassReverse /<context> http://localhost:<port>/<context> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment