Skip to content

Instantly share code, notes, and snippets.

@ice799
Created June 6, 2010 05:05
Show Gist options
  • Save ice799/427313 to your computer and use it in GitHub Desktop.
Save ice799/427313 to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name blah.com;
root /var/www/blah.com;
index index.html;
location / {
if (-f $request_filename) {
break;
}
if (!-f $request_filename) {
proxy_pass http://localhost:7006;
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment