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")
|
secretRing = conf.RequiredString("identitySecretRing")
|
||||||
blobPath = conf.RequiredString("blobPath")
|
blobPath = conf.RequiredString("blobPath")
|
||||||
tlsOn = conf.OptionalBool("TLS", false)
|
tlsOn = conf.OptionalBool("TLS", false)
|
||||||
tlsCert = conf.OptionalString("TLSCert", "")
|
tlsCert = conf.OptionalString("TLSCertFile", "")
|
||||||
tlsKey = conf.OptionalString("TLSKey", "")
|
tlsKey = conf.OptionalString("TLSKeyFile", "")
|
||||||
dbname = conf.OptionalString("dbname", "")
|
dbname = conf.OptionalString("dbname", "")
|
||||||
mysql = conf.OptionalString("mysql", "")
|
mysql = conf.OptionalString("mysql", "")
|
||||||
mongo = conf.OptionalString("mongo", "")
|
mongo = conf.OptionalString("mongo", "")
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"listen": "1.2.3.4:443",
|
"listen": "1.2.3.4:443",
|
||||||
"TLS": true,
|
"TLS": true,
|
||||||
"TLSCert": "/tls.crt",
|
"TLSCertFile": "/tls.crt",
|
||||||
"TLSKey": "/tls.key",
|
"TLSKeyFile": "/tls.key",
|
||||||
"auth": "userpass:camlistore:pass3179",
|
"auth": "userpass:camlistore:pass3179",
|
||||||
"blobPath": "/tmp/blobs",
|
"blobPath": "/tmp/blobs",
|
||||||
"identity": "26F5ABDA",
|
"identity": "26F5ABDA",
|
||||||
|
|
Loading…
Reference in New Issue