How to display maintenance mode notification on GitLab?

Posted May 7, 2015 11.9k views
NginxUbuntuDigitalOcean 1-Click Apps MarketplaceLinux Commands

Hi, I’m using GitLab 7.10.1 CE on Ubuntu 14.04.
Already searched in some documentations, but I can’t find any method to display maintenance mode notification to user.

Anybody created custom script to enable this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

The closest thing that GitLab offers to this is displaying a static page during deploys. This can be initialed manually with:

  • gitlab-ctl deploy-page up

and taken down again with:

  • gitlab-ctl deploy-page down

It looks like:

deploy page