Created
April 16, 2009 12:11
-
-
Save adammck/96388 to your computer and use it in GitHub Desktop.
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
| # in sites-available/example.com | |
| <VirtualHost *:80> | |
| ServerName example.com | |
| ProxyPass /path http://localhost:4000/ | |
| ProxyPassReverse /path http://localhost:4000/ | |
| ProxyPreserveHost on | |
| ProxyRequests on | |
| </VirtualHost> | |
| # in mods-available/ports.conf | |
| <Proxy http://localhost:4000> | |
| Order deny,allow | |
| Deny from all | |
| Allow from all | |
| </Proxy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment