Last active
December 19, 2015 03:59
-
-
Save shazinahmed/5894316 to your computer and use it in GitHub Desktop.
Apache mod_proxy with Spring Security
This file contains hidden or 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> | |
ServerName public.server.name | |
ProxyPreserveHost On | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPass /myApp/j_spring_security_check http://localhost:8080/myApp/j_spring_security_check | |
ProxyPassReverse /myApp/j_spring_security_check http://localhost:8080/myApp/j_spring_security_check | |
ProxyPass /myApp http://localhost:8080/myApp | |
ProxyPassReverse /myApp http://localhost:8080/myApp | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment