Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-01-20 04:24:18 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-01-20 04:24:25 +0300
commit2b0598b951c81610977b685d9cff0286fac91dc6 (patch)
treecc51e7e71fc9922c78c64259f4c66c1c4f3164bb /README.md
parentd5702395c17b7cb11d9042161965ff2abe73b306 (diff)
Update documentation on how to run with and without -listen-https flag
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index f81d582f..0c26c835 100644
--- a/README.md
+++ b/README.md
@@ -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**