Skip to content

Instantly share code, notes, and snippets.

@identor
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save identor/46530bc4710b1cd65197 to your computer and use it in GitHub Desktop.

Select an option

Save identor/46530bc4710b1cd65197 to your computer and use it in GitHub Desktop.
Basic Apache httpd configuration for Beaver.
<VirtualHost beaver.localhost:80>
ProxyPreserveHost Off
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:9000/
ProxyPassReverse http://localhost:9000/
</Location>
<Location /api/>
ProxyPass http://localhost:1337/
ProxyPassReverse http://localhost:1337/
</Location>
<Location /api>
ProxyPass http://localhost:1337
ProxyPassReverse http://localhost:1337
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment