Skip to content

Commit

Permalink
Add KROKI_MAX_BODY_SIZE variable documentation (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryalito authored Jul 23, 2024
1 parent 21c486c commit 9c81461
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/modules/setup/pages/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ We recommend to use a maximum length that's not greater than 8192 and not greate

KROKI_MAX_HEADER_SIZE:: The maximum length of all headers. If the sum of the length of each header exceeds this value, 431 (Request Header Fields Too Large) response status code is sent. Defaults to 8192.

== Max body size

KROKI_MAX_BODY_SIZE:: The maximum size of the http body. If the size of the body exceeds this value, 413 (Content Too Large) response status code is sent. Defaults to `1mb`.

NOTE: These variables are only available on the diagrams.net, excalidraw and mermaid containers.

== Excalidraw static assets

By default, Excalidraw loads assets from a public CDN (https://unpkg.com).
Expand Down

0 comments on commit 9c81461

Please sign in to comment.