Skip to content

Commit d006e52

Browse files
authored
Update README.md
1 parent e13413b commit d006e52

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,14 @@ Cookie adapter can be selected with configuration (if no configuration is presen
213213
set $session_storage cookie;
214214
```
215215

216+
**NOTE:**
217+
218+
If you store large amounts of data in a cookie, this library will automatically split the cookies to 4k chars chunks. With large cookies, you may need to adjust your Nginx configuration to accept large client header buffers. E.g.:
219+
220+
```nginx
221+
large_client_header_buffers 4 16k;
222+
```
223+
216224
#### Shared Dictionary Storage Adapter
217225

218226
Shared dictionary uses OpenResty shared dictionary and works with multiple worker processes, but it isn't a good

0 commit comments

Comments
 (0)