Updated sample config and config docs with example for postgres session provider_config string, #2118

This commit is contained in:
Torkel Ödegaard
2015-06-05 08:18:17 +02:00
parent 10abf61383
commit 901685bb63
3 changed files with 3 additions and 0 deletions

View File

@@ -323,6 +323,7 @@ session provider you have configured.
- **file:** session file path, e.g. `data/sessions`
- **mysql:** go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1)/database_name`
- **postgres:** ex: user=a password=b host=localhost port=5432 dbname=c sslmode=disable
If you use MySQL or Postgres as the session store you need to create the
session table manually.