Skip to content

Instantly share code, notes, and snippets.

@mdimai666
Created January 21, 2020 20:35
Show Gist options
  • Save mdimai666/a73ec74ad77b989f66d3fa012095ae7a to your computer and use it in GitHub Desktop.
Save mdimai666/a73ec74ad77b989f66d3fa012095ae7a to your computer and use it in GitHub Desktop.
<VirtualHost *:88>
ServerAdmin mdimai666@gmail.com
ServerName vk.localhost
ServerAlias vk.localhost
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:9002/
ProxyPassReverse http://localhost:9002/
</Location>
</VirtualHost>
<VirtualHost *:89>
ServerName vk.localhost:88
ServerAlias vk.localhost:88
ProxyPreserveHost Off
ProxyPass / http://localhost:9002
ProxyPassReverse / http://localhost:9002
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment