Skip to content

Instantly share code, notes, and snippets.

@joubertredrat
Created January 8, 2015 19:52
Show Gist options
  • Save joubertredrat/4e49be9b8b2196f5b884 to your computer and use it in GitHub Desktop.
Save joubertredrat/4e49be9b8b2196f5b884 to your computer and use it in GitHub Desktop.
Default apache to access Horizon internal
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ProxyPassMatch ^/static/(.*)$ http://10.0.3.152/static/$1
ProxyPass / http://10.0.3.152/horizon/
ProxyPassReverse / http://10.0.3.152/horizon/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment