Skip to content

Instantly share code, notes, and snippets.

@gemmadlou
Last active September 3, 2016 05:37
Show Gist options
  • Save gemmadlou/f5413d6b120b4fcf9016f051c6bbfe37 to your computer and use it in GitHub Desktop.
Save gemmadlou/f5413d6b120b4fcf9016f051c6bbfe37 to your computer and use it in GitHub Desktop.
#nginx
127.0.0.1 server.dev
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