Skip to content

Instantly share code, notes, and snippets.

@changtimwu
Last active February 12, 2016 01:18
Show Gist options
  • Save changtimwu/07bc861ac7adfc138481 to your computer and use it in GitHub Desktop.
Save changtimwu/07bc861ac7adfc138481 to your computer and use it in GitHub Desktop.
gitlab.example-domain.com {
proxy / localhost:10080 {
proxy_header Host {host}
proxy_header X-Real-IP {remote}
proxy_header X-Forwarded-Proto {scheme}
proxy_header X-Forwarded-Ssl on
}
log access-gitlab.log
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment