diff options
author | Vladimir Shushlin <vshushlin@gitlab.com> | 2022-05-30 09:31:21 +0300 |
---|---|---|
committer | Vladimir Shushlin <vshushlin@gitlab.com> | 2022-05-30 09:31:21 +0300 |
commit | d820de93ee18a6c052fd73df6743718424f00e8f (patch) | |
tree | 0efcffeb0978bddfa87feada9eba95c21e833c3c /internal/config | |
parent | 6e574265ffbe98c9e73e381c5b73dbd4ae9c15a5 (diff) | |
parent | 224025547ace9ee83b1cb154728ab825f92ea297 (diff) |
Merge branch 'feat/unix-sock' into 'master'
feat: add support for socket listeners
See merge request gitlab-org/gitlab-pages!758
Diffstat (limited to 'internal/config')
-rw-r--r-- | internal/config/flags.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/config/flags.go b/internal/config/flags.go index fb3f4853..23da47ed 100644 --- a/internal/config/flags.go +++ b/internal/config/flags.go @@ -98,10 +98,10 @@ var ( // initFlags will be called from LoadConfig func initFlags() { - flag.Var(&listenHTTP, "listen-http", "The address(es) to listen on for HTTP requests") - flag.Var(&listenHTTPS, "listen-https", "The address(es) to listen on for HTTPS requests") - flag.Var(&listenProxy, "listen-proxy", "The address(es) to listen on for proxy requests") - flag.Var(&listenHTTPSProxyv2, "listen-https-proxyv2", "The address(es) to listen on for HTTPS PROXYv2 requests (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)") + flag.Var(&listenHTTP, "listen-http", "The address(es) or unix socket paths to listen on for HTTP requests") + flag.Var(&listenHTTPS, "listen-https", "The address(es) or unix socket paths to listen on for HTTPS requests") + flag.Var(&listenProxy, "listen-proxy", "The address(es) or unix socket paths to listen on for proxy requests") + flag.Var(&listenHTTPSProxyv2, "listen-https-proxyv2", "The address(es) or unix socket paths to listen on for HTTPS PROXYv2 requests (https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt)") flag.Var(&header, "header", "The additional http header(s) that should be send to the client") // read from -config=/path/to/gitlab-pages-config |