-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf
51 lines (41 loc) · 2.03 KB
/
conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
pages_external_url 'https://pages.test.swordfishsecurity.com'
pages_nginx['enable'] = true
# Set this flag to enable this feature
pages_nginx['redirect_http_to_https'] = true
pages_nginx['listen_https'] = false
gitlab_pages['enable'] = true
gitlab_pages['listen_proxy'] = 'localhost:10080'
gitlab_pages['access_control'] = false
gitlab_pages["namespace_in_path"] = true
gitlab_rails['object_store']['objects']['pages']['bucket'] = "ahcode-pages"
gitlab_rails['pages_local_store_enabled'] = false
gitlab_rails['pages_object_store_enabled'] = true
gitlab_rails['pages_object_store_remote_directory'] = "ahcode-pages"
gitlab_rails['pages_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'RegionOne',
'aws_access_key_id' => '<key>',
'aws_secret_access_key' => '<token>',
'aws_signature_version' => 4,
'host' => '<s3 host>',
'endpoint' => '<s3 url>',
'path_style' => true
}
должны быть сертификаты ssl подложены в соответствующую папку, либо задать дополнительно через
pages_nginx['ssl_certificate'] = "/etc/gitlab/ssl/fullchain1.pem"
pages_nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/privkey1.pem"
на нодах sidekiq
gitlab_rails['object_store']['objects']['pages']['bucket'] = "ahcode-pages"
gitlab_rails['pages_local_store_enabled'] = false
gitlab_rails['pages_object_store_enabled'] = true
gitlab_rails['pages_object_store_remote_directory'] = "ahcode-pages"
gitlab_rails['pages_object_store_connection'] = {
'provider' => 'AWS',
'region' => 'RegionOne',
'aws_access_key_id' => '<key>',
'aws_secret_access_key' => '<token>',
'aws_signature_version' => 4,
'host' => '<s3 host>',
'endpoint' => '<s3 url>',
'path_style' => true
}