Created
October 30, 2013 19:50
-
-
Save skarllot/7239046 to your computer and use it in GitHub Desktop.
Apache configuration to proxy requests to Glassfish server.
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName www.example.com | |
ServerAlias example.com | |
ProxyRequests Off | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPass / http://web.example.com:8080/ | |
ProxyPassReverse / http://web.example.com:8080/ | |
ProxyPreserveHost On | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment