Created
August 9, 2016 04:55
-
-
Save lucj/bf654056c53b0fdc13e5b5121455aa56 to your computer and use it in GitHub Desktop.
gitlab-https-setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Url on which GitLab will be reachable. | |
## For more details on configuring external_url see: | |
## https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/configuration.md#configuring-the-external-url-for-gitlab | |
external_url "https://gitlab.mydomain.com" | |
################ | |
# GitLab Nginx # | |
################ | |
## see: https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc/settings/nginx.md | |
nginx['listen_port'] = 80 | |
nginx['listen_https'] = false | |
nginx['proxy_set_headers'] = { | |
"X-Forwarded-Proto" => "https", | |
"X-Forwarded-Ssl" => "on" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment