mirror of https://github.com/perkeep/perkeep.git
serverconfig: be consistent between low- and high-level config
Use TLSCertFile and TLSKeyFile in both.
This commit is contained in:
parent
63418fe0fc
commit
42833a76e0
|
@ -238,8 +238,8 @@ func GenLowLevelConfig(conf *Config) (lowLevelConf *Config, err error) {
|
|||
secretRing = conf.RequiredString("identitySecretRing")
|
||||
blobPath = conf.RequiredString("blobPath")
|
||||
tlsOn = conf.OptionalBool("TLS", false)
|
||||
tlsCert = conf.OptionalString("TLSCert", "")
|
||||
tlsKey = conf.OptionalString("TLSKey", "")
|
||||
tlsCert = conf.OptionalString("TLSCertFile", "")
|
||||
tlsKey = conf.OptionalString("TLSKeyFile", "")
|
||||
dbname = conf.OptionalString("dbname", "")
|
||||
mysql = conf.OptionalString("mysql", "")
|
||||
mongo = conf.OptionalString("mongo", "")
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"listen": "1.2.3.4:443",
|
||||
"TLS": true,
|
||||
"TLSCert": "/tls.crt",
|
||||
"TLSKey": "/tls.key",
|
||||
"TLSCertFile": "/tls.crt",
|
||||
"TLSKeyFile": "/tls.key",
|
||||
"auth": "userpass:camlistore:pass3179",
|
||||
"blobPath": "/tmp/blobs",
|
||||
"identity": "26F5ABDA",
|
||||
|
|
Loading…
Reference in New Issue