Mercurial > gemma
changeset 292:c2334b5d3dd0
Changed SSL mode to connect to PostgreSQL from require to prefer.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 31 Jul 2018 13:34:37 +0200 |
parents | 9d6ba97a31d2 |
children | b1116c4ce57f ba1178fbc64b |
files | cmd/gemma/root.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd/gemma/root.go Tue Jul 31 12:47:09 2018 +0200 +++ b/cmd/gemma/root.go Tue Jul 31 13:34:37 2018 +0200 @@ -38,7 +38,7 @@ fl().StringVarP(&config.Config.DBHost, "dbhost", "H", "localhost", "host of the database") fl().UintVarP(&config.Config.DBPort, "dbport", "P", 5432, "port of the database") fl().StringVarP(&config.Config.DBName, "dbname", "d", "gemma", "name of the database") - fl().StringVarP(&config.Config.DBSSLMode, "dbssl", "S", "require", "SSL mode of the database") + fl().StringVarP(&config.Config.DBSSLMode, "dbssl", "S", "prefer", "SSL mode of the database") fl().StringVarP(&config.Config.SessionStore, "sessions", "s", "", "path to the sessions file")