Skip to content

Instantly share code, notes, and snippets.

@homerquan
Created October 27, 2015 00:04
Show Gist options
  • Save homerquan/c5b0efc2398bc4ff1c5f to your computer and use it in GitHub Desktop.
Save homerquan/c5b0efc2398bc4ff1c5f to your computer and use it in GitHub Desktop.
edit "/etc/httpd/conf.d/welcome.conf"
<VirtualHost *:*>
ProxyPreserveHost On
# Servers to proxy the connection, or;
# List of application servers:
# Usage:
# ProxyPass / http://[IP Addr.]:[port]/
# ProxyPassReverse / http://[IP Addr.]:[port]/
# Example:
ProxyPass / http://localhost:8008/
ProxyPassReverse / http://localhost:8008/
ServerName localhost
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment