You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/roles/index.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Documentation on the use of the Redis Roles can be found in [Configuring Redis f
70
70
71
71
*By default, enables no other services.*
72
72
73
-
-**redis_replica_role** (`gitlab-ee`, [introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4168) in GitLab 13.0)
73
+
-**redis_replica_role** (`gitlab-ee`)
74
74
75
75
Enables the Redis service and monitoring
76
76
@@ -117,8 +117,6 @@ for configuration steps.
117
117
118
118
### Monitoring Roles
119
119
120
-
> -[Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/3404) in GitLab 12.1.
121
-
122
120
Monitoring roles are used to set up monitoring of installations. For additional information, see the [Monitoring documentation](https://docs.gitlab.com/ee/administration/monitoring/prometheus/index.html).
123
121
124
122
-**monitoring_role** (`gitlab-ce`/`gitlab-ee`)
@@ -137,7 +135,7 @@ Documentation on the usage of the PostgreSQL Roles can be found in [Configuring
137
135
138
136
*By default, enables no other services.*
139
137
140
-
-**patroni_role** (`gitlab-ee`, [introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4851) in GitLab 13.8)
138
+
-**patroni_role** (`gitlab-ee`)
141
139
142
140
Enables the PostgreSQL, patroni, and Consul services on the machine
143
141
@@ -157,8 +155,6 @@ Documentation on the usage of the PostgreSQL Roles can be found in [Configuring
157
155
158
156
### GitLab Pages Roles
159
157
160
-
> -[Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/4740) in GitLab 13.6.
161
-
162
158
GitLab Pages roles are used to setup and configure GitLab Pages. For additional
Copy file name to clipboardExpand all lines: doc/settings/backups.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ It is not recommended to store your configuration backup in the
23
23
same place as your application data backup, see below.
24
24
25
25
All configuration for Linux package installations is stored in `/etc/gitlab`. To backup your
26
-
configuration, just run `sudo gitlab-ctl backup-etc` (introduced in GitLab 12.3). It creates a tar
26
+
configuration, just run `sudo gitlab-ctl backup-etc`. It creates a tar
27
27
archive in `/etc/gitlab/config_backup/`. Directory and backup files will be
28
28
readable only to root.
29
29
@@ -68,8 +68,6 @@ Your machines SSH host keys are stored in a separate location at `/etc/ssh/`. Be
68
68
69
69
### Limit backup lifetime for configuration backups (prune old backups)
70
70
71
-
> -[Introduced](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5102) in GitLab 13.12.
72
-
73
71
GitLab configuration backups can be pruned using the same `backup_keep_time` setting that is
74
72
[used for the GitLab application backups](https://docs.gitlab.com/ee/administration/backup_restore/backup_gitlab.html#limit-backup-lifetime-for-local-files-prune-old-backups)
Copy file name to clipboardExpand all lines: doc/settings/configuration.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -709,9 +709,8 @@ cross-site scripting (XSS) attacks. See
709
709
[the Mozilla documentation on CSP](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) for more
710
710
details.
711
711
712
-
GitLab 12.2 added support for
713
-
[CSP and nonce-source with inline JavaScript](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src).
714
-
It is [not configured by default yet](https://gitlab.com/gitlab-org/gitlab/-/issues/30720).
712
+
[CSP and nonce-source with inline JavaScript](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src) is available on GitLab.com.
713
+
It is [not configured by default](https://gitlab.com/gitlab-org/gitlab/-/issues/30720) on self-managed.
715
714
716
715
NOTE:
717
716
Improperly configuring the CSP rules could prevent GitLab from working
@@ -746,8 +745,7 @@ To add a CSP:
746
745
}
747
746
```
748
747
749
-
[In GitLab 14.9 and later](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/80303), secure default values
750
-
are used for directives that aren't explicitly configured.
748
+
Secure default values are used for directives that aren't explicitly configured.
Make sure you run `sudo gitlab-ctl reconfigure` for the changes to take effect.
442
442
443
-
NOTE:
444
-
If you are running a version older than 8.16.0, you will have to
445
-
manually remove the Unicorn service file (`/opt/gitlab/service/unicorn`), if
446
-
exists, for reconfigure to succeed.
447
-
448
443
### Vhost (server block)
449
444
450
-
NOTE:
451
-
GitLab 13.5 changed the default workhorse socket location from `/var/opt/gitlab/gitlab-workhorse/socket` to `/var/opt/gitlab/gitlab-workhorse/sockets/socket`. Please update the following configuration accordingly if upgrading from versions older than 13.5.
452
-
453
-
Then, in your custom Passenger/NGINX installation, create the following site
454
-
configuration file:
445
+
In your custom Passenger/NGINX installation, create the following site configuration file:
455
446
456
447
```plaintext
457
448
upstream gitlab-workhorse {
@@ -757,24 +748,6 @@ header with `hide_server_tokens`:
757
748
sudo gitlab-ctl hup nginx
758
749
```
759
750
760
-
### `502: Bad Gateway` when SELinux and external NGINX are used
761
-
762
-
On Linux servers with SELinux enabled, after setting up an external NGINX, the error `502: Bad Gateway` may be observed when accessing the GitLab UI. You can also see the error in NGINX's logs:
763
-
764
-
```plaintext
765
-
connect() to unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket failed (13:Permission denied) while connecting to upstream
766
-
```
767
-
768
-
Select one of the following options to fix:
769
-
770
-
- Update to GitLab 14.3 or later which contains an [updated SELinux policy](https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5569).
0 commit comments