diff options
| author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-20 23:29:40 +0200 | 
|---|---|---|
| committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2017-01-31 22:55:28 +0000 | 
| commit | d5ccea0286b229ba64a50e4576a68674d83ef30b (patch) | |
| tree | 25fc9a472cd159ac1cf51367e01356c65858067f /lib/support/init.d/gitlab.default.example | |
| parent | c634ff42ae26ed8e33a70a4c5cb75b38f68644fc (diff) | |
| download | gitlab-ce-d5ccea0286b229ba64a50e4576a68674d83ef30b.tar.gz | |
Add init scripts for GitLab Pages daemon
Diffstat (limited to 'lib/support/init.d/gitlab.default.example')
| -rwxr-xr-x | lib/support/init.d/gitlab.default.example | 24 | 
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/support/init.d/gitlab.default.example b/lib/support/init.d/gitlab.default.example index cc8617b72ca..6a4f6b090c9 100755 --- a/lib/support/init.d/gitlab.default.example +++ b/lib/support/init.d/gitlab.default.example @@ -47,6 +47,30 @@ gitlab_workhorse_pid_path="$pid_path/gitlab-workhorse.pid"  gitlab_workhorse_options="-listenUmask 0 -listenNetwork unix -listenAddr $socket_path/gitlab-workhorse.socket -authBackend http://127.0.0.1:8080 -authSocket $socket_path/gitlab.socket -documentRoot $app_root/public"  gitlab_workhorse_log="$app_root/log/gitlab-workhorse.log" +# The GitLab Pages Daemon needs to use a separate IP address on which it will +# listen. You can also use different ports than 80 or 443 that will be +# forwarded to GitLab Pages Daemon. +# +# To enable HTTP support for custom domains add the `-listen-http` directive +# in `gitlab_pages_options` below. +# The value of -listen-http must be set to `gitlab.yml > pages > external_http` +# as well. For example: +# +#   -listen-http 1.1.1.1:80 +# +# To enable HTTPS support for custom domains add the `-listen-https`, +# `-root-cert` and `-root-key` directives in `gitlab_pages_options` below. +# The value of -listen-https must be set to `gitlab.yml > pages > external_https` +# as well. For example: +# +#   -listen-https 1.1.1.1:443 -root-cert /path/to/example.com.crt -root-key /path/to/example.com.key +# +# The -pages-domain must be specified the same as in `gitlab.yml > pages > host`. +# Set `gitlab_pages_enabled=false` if you want to disable the Pages feature. +gitlab_pages_enabled=true +gitlab_pages_options="-pages-domain example.com -pages-root $app_root/shared/pages -listen-proxy 127.0.0.1:8282" +gitlab_pages_log="$app_root/log/gitlab-pages.log" +  # mail_room_enabled specifies whether mail_room, which is used to process incoming email, is enabled.  # This is required for the Reply by email feature.  # The default is "false"  | 
