nginx['custom_gitlab_server_config'] = "location ^~ /api/v4/jobs/request {\n deny all;\n return 503;\n}\n"
輸入下方命令,讓Gitlab載入配置
sudo gitlab-ctl reconfigure
接著輸入指令更新Gitlab
sudo apt-get install --only-upgrade gitlab-ee -y
更新完成後,一開始加入的那串並且重新載入配置即可
參考資料:
Upgrade GitLab