Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
3b277364
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3b277364
编写于
6月 10, 2014
作者:
M
Marin Jankovski
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'https-docs' into 'master'
Https docs
上级
772f2f1a
5d95fc67
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
9 deletion
+11
-9
doc/install/installation.md
doc/install/installation.md
+11
-9
未找到文件。
doc/install/installation.md
浏览文件 @
3b277364
...
...
@@ -158,7 +158,7 @@ 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 want to use https make sure that you set `https` to `true`. See #using-https for
all necessary
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
...
...
@@ -242,8 +242,11 @@ GitLab Shell is an ssh access and repository management software developed speci
# By default, the gitlab-shell config is generated from your main gitlab config.
#
# Note: When using GitLab with HTTPS, 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.
# Note: When using GitLab with HTTPS please change the following:
# - Provide paths to the certificates under `ca_file` and `ca_path options.
# - The `gitlab_url` option must point to the https endpoint of GitLab.
# - In case you are using self signed certificate set `self_signed_cert` to `true`.
# See #using-https for all necessary details.
#
# You can review (and modify) the gitlab-shell config as follows:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
...
...
@@ -312,7 +315,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`
. See
#using-https for more
details.
**Note:**
If you want to use https, replace the
`gitlab`
nginx config with
`gitlab-ssl`
. See
[
Using HTTPS
](
#using-https
)
for all necessary
details.
### Restart
...
...
@@ -343,12 +346,11 @@ Visit YOUR_SERVER in your web browser for your first GitLab login. The setup has
### Using HTTPS
T
his is a retrospective of what is needed to configure in order
to use GitLab with HTTPS:
T
o recapitulate what is needed
to use GitLab with HTTPS:
1.
In
`gitlab.yml`
enable https by setting
`https`
option to
`true`
1.
In gitlab-shell
`config.yml`
check if certificate options
`ca_file`
,
`ca_path options`
or
`self_signed_cert`
are set.
`gitlab_url`
must point to the https host.
1.
Use the
`gitlab-ssl`
nginx config.
1.
In
`gitlab.yml`
set the
`https`
option to
`true`
1.
In the
`config.yml`
of gitlab-shell set the relevant options (see the
[
install GitLab Shell section
](
#install-gitlab-shell
)
of this document).
1.
Use the
`gitlab-ssl`
nginx example config instead of the
`gitlab`
config.
### Additional markup styles
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录