Last active
December 16, 2015 05:09
-
-
Save viktorkelemen/5382344 to your computer and use it in GitHub Desktop.
VirtualHost set up on OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set up your custom domain to point | |
| # to localhost in /etc/hosts | |
| 127.0.0.1 myapp.dev | |
| # Enable virtual hosts in /etc/apache2/httpd.conf | |
| # by uncommenting the following line | |
| Include /private/etc/apache2/extra/httpd-vhosts.conf | |
| # Add the mapping in /private/etc/apache2/extra/httpd-vhosts.conf | |
| <VirtualHost *:80> | |
| ServerName myapp.dev | |
| ProxyRequests On | |
| ProxyPass / http://localhost:3000/ | |
| ProxyPassReverse / http://localhost:3000/ | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment