Skip to content

Instantly share code, notes, and snippets.

@ipconfiger
Created August 2, 2013 18:36
Show Gist options
  • Save ipconfiger/6142265 to your computer and use it in GitHub Desktop.
Save ipconfiger/6142265 to your computer and use it in GitHub Desktop.
location / {
  proxy_pass_header Server;
  proxy_set_header Host $http_host;
  proxy_set_header X-Real-IP $remote_addr;
  proxy_set_header X-Scheme $scheme;
  proxy_pass http://frontends;
  proxy_next_upstream error;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment