serverconfig: be consistent between low- and high-level config

Use TLSCertFile and TLSKeyFile in both.
This commit is contained in:
Brad Fitzpatrick 2012-08-04 21:11:52 +10:00
parent 63418fe0fc
commit 42833a76e0
2 changed files with 4 additions and 4 deletions

View File

@ -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", "")

View File

@ -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",