You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/administration/config-cheat-sheet.en-us.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -777,7 +777,7 @@ and
777
777
778
778
-`PROVIDER`: **memory**: Session engine provider \[memory, file, redis, redis-cluster, db, mysql, couchbase, memcache, postgres\]. Setting `db` will reuse the configuration in `[database]`
779
779
-`PROVIDER_CONFIG`: **data/sessions**: For file, the root path; for db, empty (database config will be used); for others, the connection string. Relative paths will be made absolute against _`AppWorkPath`_.
780
-
-`COOKIE_SECURE`:**false**: Enable this to force using HTTPS for all session access.
780
+
-`COOKIE_SECURE`:**_empty_**: `true` or `false`. Enable this to force using HTTPS for all session access. If not set, it defaults to `true` if the ROOT_URL is an HTTPS URL.
781
781
-`COOKIE_NAME`: **i\_like\_gitea**: The name of the cookie used for the session ID.
782
782
-`GC_INTERVAL_TIME`: **86400**: GC interval in seconds.
783
783
-`SESSION_LIFE_TIME`: **86400**: Session life time in seconds, default is 86400 (1 day)
0 commit comments