about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/config.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/config.md b/doc/config.md
index f043541d..98027fbe 100644
--- a/doc/config.md
+++ b/doc/config.md
@@ -339,6 +339,13 @@ rewrite-url = '''
 	/* No need to return; URL objects are passed by reference. */
 }
 '''
+
+# Allow cookie sharing on *sr.ht domains.
+[[siteconf]]
+host = '^.*sr\.ht$'
+cookie = true
+share-cookie-jar = 'sr.ht'
+third-party-cookie = '^.*\.sr.ht$'
 ```
 
 Siteconf options: