diff options
author | Dong Nguyen <ndaidong@gmail.com> | 2021-04-24 21:58:40 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-24 16:58:40 +0200 |
commit | 6ea6e2b4eb339f58f805783532f1b481fec67375 (patch) | |
tree | 779b02aa6f3a3396ddd2ef74dd7fb3caad456daf /docs | |
parent | ec69f347264962448e619f3722788e07a11c36d2 (diff) | |
download | gitea-6ea6e2b4eb339f58f805783532f1b481fec67375.tar.gz gitea-6ea6e2b4eb339f58f805783532f1b481fec67375.zip |
Update config-cheat-sheet.en-us.md (#15606)
Add more guide about `PROVIDER_CONFIG` when `PROVIDER` is `db` (https://github.com/go-gitea/gitea/issues/14016)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 088b56fedd..de386add0b 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -582,7 +582,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type ## Session (`session`) - `PROVIDER`: **memory**: Session engine provider \[memory, file, redis, db, mysql, couchbase, memcache, postgres\]. -- `PROVIDER_CONFIG`: **data/sessions**: For file, the root path; for others, the connection string. +- `PROVIDER_CONFIG`: **data/sessions**: For file, the root path; for db, empty (database config will be used); for others, the connection string. - `COOKIE_SECURE`: **false**: Enable this to force using HTTPS for all session access. - `COOKIE_NAME`: **i\_like\_gitea**: The name of the cookie used for the session ID. - `GC_INTERVAL_TIME`: **86400**: GC interval in seconds. |