diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-23 18:08:01 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-23 18:08:01 +0300 |
commit | abdb550f6937ce69ec38954f24ef221d07637438 (patch) | |
tree | a8f2136768637c628f544f567fa57d63c5cf6e3b /doc/raketasks | |
parent | e6d048d769240760008f0dbb6b811e1ebc675292 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/backup_restore.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index 18303a5f45c..5cb7b00ddc5 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -288,7 +288,7 @@ To prepare the new server: Edit `/etc/gitlab/gitlab.rb` and set the following: ```ruby - nginx['custom_gitlab_server_config'] = "location /api/v4/jobs/request {\n deny all;\n return 503;\n}\n" + nginx['custom_gitlab_server_config'] = "location = /api/v4/jobs/request {\n deny all;\n return 503;\n }\n" ``` 1. Reconfigure GitLab: @@ -319,7 +319,7 @@ To prepare the new server: 1. Edit `/etc/gitlab/gitlab.rb`, and set the following: ```ruby - nginx['custom_gitlab_server_config'] = "location /api/v4/jobs/request {\n deny all;\n return 503;\n}\n" + nginx['custom_gitlab_server_config'] = "location = /api/v4/jobs/request {\n deny all;\n return 503;\n }\n" ``` 1. Reconfigure GitLab: @@ -425,7 +425,7 @@ To prepare the new server: ```ruby # The following line must be removed - nginx['custom_gitlab_server_config'] = "location /api/v4/jobs/request {\n deny all;\n return 503;\n}\n" + nginx['custom_gitlab_server_config'] = "location = /api/v4/jobs/request {\n deny all;\n return 503;\n }\n" ``` 1. Reconfigure GitLab: |