Created
April 28, 2014 13:29
-
-
Save rafaelfoster/11372049 to your computer and use it in GitHub Desktop.
Gitlab configuration to enable HTTPS
This file contains hidden or 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
# Changes in apache | |
<VirtualHost *:443> | |
ServerName git.server.com.br | |
ServerSignature Off | |
SSLEngine On | |
SSLProxyEngine On | |
SSLCertificateFile /etc/pki/tls/certs/localhost.crt | |
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key | |
RequestHeader set X_FORWARDED_PROTO 'https' | |
</VirtualHost> | |
# Changes in ~/gitlab/config/gitlab.yml | |
gitlab: | |
## Web server settings | |
host: git.rodrimar.com.br | |
port: 443 | |
https: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment