You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.go
+41-36Lines changed: 41 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,9 @@ type Config struct {
152
152
LetsEncryptDirstring`long:"letsencryptdir" description:"The directory where the Let's Encrypt library will store its key and certificate."`
153
153
LetsEncryptListenstring`long:"letsencryptlisten" description:"The IP:port on which LiT will listen for Let's Encrypt challenges. Let's Encrypt will always try to contact on port 80. Often non-root processes are not allowed to bind to ports lower than 1024. This configuration option allows a different port to be used, but must be used in combination with port forwarding from port 80. This configuration can also be used to specify another IP address to listen on, for example an IPv6 address."`
154
154
155
+
TLSCertPathstring`long:"tlscertpath" description:"Path to write the self signed TLS certificate for LiT's RPC and REST proxy service (if Let's Encrypt is not used). This only applies to the HTTPSListen port."`
156
+
TLSKeyPathstring`long:"tlskeypath" description:"Path to write the self signed TLS private key for LiT's RPC and REST proxy service (if Let's Encrypt is not used). This only applies to the HTTPSListen port."`
157
+
155
158
LitDirstring`long:"lit-dir" description:"The main directory where LiT looks for its configuration file. If LiT is running in 'remote' lnd mode, this is also the directory where the TLS certificates and log files are stored by default."`
156
159
ConfigFilestring`long:"configfile" description:"Path to LiT's configuration file."`
157
160
@@ -211,9 +214,6 @@ type Config struct {
211
214
// RemoteConfig holds the configuration parameters that are needed when running
212
215
// LiT in the "remote" lnd mode.
213
216
typeRemoteConfigstruct {
214
-
LitTLSCertPathstring`long:"lit-tlscertpath" description:"For lnd remote mode only: Path to write the self signed TLS certificate for LiT's RPC and REST proxy service (if Let's Encrypt is not used)."`
215
-
LitTLSKeyPathstring`long:"lit-tlskeypath" description:"For lnd remote mode only: Path to write the self signed TLS private key for LiT's RPC and REST proxy service (if Let's Encrypt is not used)."`
216
-
217
217
LitLogDirstring`long:"lit-logdir" description:"For lnd remote mode only: Directory to log output."`
218
218
LitMaxLogFilesint`long:"lit-maxlogfiles" description:"For lnd remote mode only: Maximum logfiles to keep (0 for no rotation)"`
219
219
LitMaxLogFileSizeint`long:"lit-maxlogfilesize" description:"For lnd remote mode only: Maximum logfile size in MB"`
0 commit comments