Skip to content

Instantly share code, notes, and snippets.

@kaizhuQin
Created October 14, 2014 01:45
Show Gist options
  • Save kaizhuQin/d1aacfdddc24e758369d to your computer and use it in GitHub Desktop.
Save kaizhuQin/d1aacfdddc24e758369d to your computer and use it in GitHub Desktop.
shell:apache端口映射
<VirtualHost *:80>
ServerName test.me
ServerAlias test.me
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment