Skip to content

Instantly share code, notes, and snippets.

@ivarvong
Created August 19, 2010 06:30
Show Gist options
  • Save ivarvong/537220 to your computer and use it in GitHub Desktop.
Save ivarvong/537220 to your computer and use it in GitHub Desktop.
<VirtualHost 1.2.3.4:80>
ServerAdmin [email protected]
ServerName example.com
DocumentRoot /srv/www/example.com/public/
ErrorLog /srv/www/example.com/logs/error.log
CustomLog /srv/www/example.com/logs/access.log combined
ProxyPass / http://127.0.0.1:8100/
ProxyPassReverse / http://127.0.0.1:8100/
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment