Commit bb83427a authored by Christophe Chaudier's avatar Christophe Chaudier

(bug) nginx fail to restart on gitlab main

Do not generate nginx conf on main server if pages are not 
on this server

See : https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/4890
parent 1fdd4a7a
......@@ -588,8 +588,9 @@ database encryption. Proceed with caution.
1. On the **GitLab server**, make the following changes to `/etc/gitlab/gitlab.rb`:
```ruby
gitlab_pages['enable'] = false
pages_external_url "http://<pages_server_URL>"
gitlab_pages['enable'] = false
gitlab_rails['pages_enabled']=false
gitlab_rails['pages_path'] = "/mnt/pages"
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment