summaryrefslogtreecommitdiff
path: root/doc/customization
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-08-20 11:56:52 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-08-20 11:56:52 +0200
commite72b7cc250b473cec2c5a222f14247859f423936 (patch)
tree1bcd456fec3e8f87bfad3e57e418ebea5c969b38 /doc/customization
parented9e922dd0047435b8d349f0c949ba0a2d789247 (diff)
downloadgitlab-ce-e72b7cc250b473cec2c5a222f14247859f423936.tar.gz
Document the extra.sign_in_text setting for CE
Diffstat (limited to 'doc/customization')
-rw-r--r--doc/customization/welcome_message.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/customization/welcome_message.md b/doc/customization/welcome_message.md
new file mode 100644
index 00000000000..6000d389796
--- /dev/null
+++ b/doc/customization/welcome_message.md
@@ -0,0 +1,34 @@
+# Add a welcome message to the sign-in page (GitLab Community Edition)
+
+It is possible to add a markdown-formatted welcome message to your GitLab
+sign-in page. Users of GitLab Enterprise Edition should use the [branded login
+page feature](/ee/customization/branded_login_page.html) instead.
+
+## Omnibus-gitlab example
+
+In `/etc/gitlab/gitlab.rb`:
+
+```ruby
+gitlab_rails['extra_sign_in_text'] = <<'EOS'
+# ACME GitLab
+Welcome to the [ACME](http://www.example.com) GitLab server!
+EOS
+```
+
+Run `sudo gitlab-ctl reconfigure` for changes to take effect.
+
+## Installation from source
+
+In `/home/git/gitlab/config/gitlab.yml`:
+
+```yaml
+# snip
+production:
+ # snip
+ extra:
+ sign_in_text: |
+ # ACME GitLab
+ Welcome to the [ACME](http://www.example.com) GitLab server!
+```
+
+Run `sudo service gitlab reload` for the change to take effect.