Skip to content

Instantly share code, notes, and snippets.

@caquino
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caquino/d133219ec08a50285394 to your computer and use it in GitHub Desktop.
Save caquino/d133219ec08a50285394 to your computer and use it in GitHub Desktop.
server {
listen 80;
resolver 4.2.2.2;
location /folder1 {
proxy_pass http://server1.domain.com:80;
}
location /folder2 {
proxy_pass http://server2.domain.com:80;
}
location /folder3 {
proxy_pass http://server3.domain.com:80;
}
location / {
proxy_pass http://serverdefault.domain.com:80;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment