Skip to content

Commit 6ea6e2b

Browse files
authored
Update config-cheat-sheet.en-us.md (#15606)
Add more guide about `PROVIDER_CONFIG` when `PROVIDER` is `db` (#14016)
1 parent ec69f34 commit 6ea6e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/advanced/config-cheat-sheet.en-us.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ Define allowed algorithms and their minimum key length (use -1 to disable a type
582582
## Session (`session`)
583583

584584
- `PROVIDER`: **memory**: Session engine provider \[memory, file, redis, db, mysql, couchbase, memcache, postgres\].
585-
- `PROVIDER_CONFIG`: **data/sessions**: For file, the root path; for others, the connection string.
585+
- `PROVIDER_CONFIG`: **data/sessions**: For file, the root path; for db, empty (database config will be used); for others, the connection string.
586586
- `COOKIE_SECURE`: **false**: Enable this to force using HTTPS for all session access.
587587
- `COOKIE_NAME`: **i\_like\_gitea**: The name of the cookie used for the session ID.
588588
- `GC_INTERVAL_TIME`: **86400**: GC interval in seconds.

0 commit comments

Comments
 (0)