Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-10 13:58:11 +0400
committerMarin Jankovski <marin@gitlab.com>2014-06-10 13:58:11 +0400
commitb980ab407e6194723546125c80a0911b5e557215 (patch)
tree726152756252472a97e2f69a5db6e6f1496097f3 /doc
parentf055bad5135c8c3934daf16f8d9400f9a23b8960 (diff)
Update installation doc to mention using https.
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 7840cef8900..eebc1a3e32e 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -158,6 +158,8 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
# Make sure to change "localhost" to the fully-qualified domain name of your
# host serving GitLab where necessary
#
+ # If you want to use https make sure that you set `https` to `true`. See #using-https for more details.
+ #
# If you installed Git from source, change the git bin_path to /usr/local/bin/git
sudo -u git -H editor config/gitlab.yml
@@ -305,7 +307,7 @@ Make sure to edit the config file to match your setup:
# domain name of your host serving GitLab.
sudo editor /etc/nginx/sites-available/gitlab
-**Note:** If you want to use https, replace the `gitlab` nginx config with `gitlab-ssl`.
+**Note:** If you want to use https, replace the `gitlab` nginx config with `gitlab-ssl`. See #using-https for more details.
### Restart
@@ -334,6 +336,15 @@ Visit YOUR_SERVER in your web browser for your first GitLab login. The setup has
## Advanced Setup Tips
+### Using HTTPS
+
+This is a retrospective of what is needed to configure in order to use GitLab with HTTPS:
+
+1. In `gitlab.yml` enable https by setting `https` option to `true`
+1. In gitlab-shell `config.yml` provide paths to the certificates under `ca_file` and `ca_path options.
+In case you are using self signed certificate set `self_signed_cert` to `true`. `gitlab_url` must point to the https host.
+1. Use `gitlab-ssl` nginx config
+
### Additional markup styles
Apart from the always supported markdown style there are other rich text files that GitLab can display. But you might have to install a dependency to do so. Please see the [github-markup gem readme](https://github.com/gitlabhq/markup#markups) for more information. For example, reStructuredText markup language support requires python-docutils: