Last active
September 3, 2016 05:37
-
-
Save gemmadlou/f5413d6b120b4fcf9016f051c6bbfe37 to your computer and use it in GitHub Desktop.
This file contains 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
#nginx | |
127.0.0.1 server.dev |
This file contains 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
server { | |
listen 8000 default_server; | |
server_name localhost; | |
location / { | |
proxy_pass http://192.168.99.100:8000; | |
} | |
} | |
server { | |
listen 80; | |
server_name server.dev; | |
location / { | |
proxy_pass http://192.168.99.100:8000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment