diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-20 04:24:18 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2020-01-20 04:24:25 +0300 |
commit | 2b0598b951c81610977b685d9cff0286fac91dc6 (patch) | |
tree | cc51e7e71fc9922c78c64259f4c66c1c4f3164bb /README.md | |
parent | d5702395c17b7cb11d9042161965ff2abe73b306 (diff) |
Update documentation on how to run with and without -listen-https flag
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -76,7 +76,14 @@ run in SSL-offloading mode, custom TLS certificates will not work. Example: ``` $ make -$ ./gitlab-pages -listen-https "" -listen-http ":8090" -pages-root path/to/gitlab/shared/pages -pages-domain example.com +$ ./gitlab-pages -listen-http ":8090" -pages-root path/to/gitlab/shared/pages -pages-domain example.com +``` + +To run on HTTPS ensure you have a root certificate key pair available + +``` +$ make +$ ./gitlab-pages -listen-https ":9090" -root-cert=path/to/example.com.crt -root-key=path/to/example.com.key -pages-root path/to/gitlab/shared/pages -pages-domain example.com ``` ### Run daemon **in secure mode** |