From dca21841d61486105bc74d7bfcbe3c78e75c238e Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Wed, 12 Jun 2019 22:04:12 -0400 Subject: added new options to manual --- svc/help.go | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) (limited to 'svc') diff --git a/svc/help.go b/svc/help.go index 09faadb..f3bbfab 100644 --- a/svc/help.go +++ b/svc/help.go @@ -93,9 +93,28 @@ func manualScreen() { customize your instance of getwtxt. None are required, they will simply use their default value unless otherwise specified. + BehindProxy: Informs getwtxt whether it is behind a + reverse proxy, such as nginx or Caddy. If set to + false, getwtxt will use host matching for + incoming requests. The host matched is the URL + suboption of Instance in the config file. + Default: true + ListenPort: Defines the port getwtxt should bind to. Default: 9001 + UseTLS: Boolean value that lets getwtxt know if it + should use TLS for incoming connections. + Default: false + + TLSCert: Absolute path to the certificate file used + for TLS connections. + Default: /etc/ssl/getwtxt.pem + + TLSKey: Absolute path to the private TLS key file + used for TLS connections. + Default: /etc/ssl/private/getwtxt.pem + DatabaseType: The type of back-end getwtxt should use to store registry data. The available types of databases are: leveldb @@ -120,9 +139,14 @@ func manualScreen() { is running. Default: false - LogFile: The location of getwtxt's log file. This, - like DatabasePath, can be relative or absolute. - Default: getwtxt.log + MessageLog: The location of getwtxt's error and + other messages log file. This, like DatabasePath, + can be relative or absolute. + Default: logs/message.log + + RequestLog: The location of getwtxt's request log + file. The path can be relative or absolute. + Default: logs/request.log DatabasePushInterval: The interval on which getwtxt will push registry data from the in-memory cache @@ -209,7 +233,9 @@ func manualScreen() { {{.URL}} The publicly-accessible URL of your instance. In the default landing page, example API calls are shown - using this URL for the convenience of the user. + using this URL for the convenience of the user. This + is also used as the matched host when the "BehindProxy" + value in the configuration file is set to false. :: Interacting with the Registry :: -- cgit 1.4.1-2-gfad0