diff options
author | Frederick Muriuki Muriithi | 2025-01-27 16:11:30 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-01-28 09:09:08 -0600 |
commit | 365bd8b5bcd105662bc49a31d9bdfa7bfc6b55cb (patch) | |
tree | b360e7bbeaf48817509677522e5eb252625a4da0 | |
parent | b0b608fe1d9ee363c1c9ff7e403d7ca19a84a08a (diff) | |
download | gn-machines-365bd8b5bcd105662bc49a31d9bdfa7bfc6b55cb.tar.gz |
Increase the allowed size of the client request body.
Some request (e.g. for mapping) from GN2 can get big, depending on the
trait(s) in use. This commit increases the maximum allowed size for
the client body to allow bigger requests.
-rw-r--r-- | genenetwork/services/genenetwork.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index b863bcf..f723c47 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -526,7 +526,8 @@ a @code{<genenetwork-configuration>} record." (number->string gn2-port) ";") "proxy_set_header Host $host;" "proxy_read_timeout 20m;" - "proxy_set_header X-Forwarded-Proto $scheme;"))) + "proxy_set_header X-Forwarded-Proto $scheme;" + "client_max_body_size 8050m;"))) (nginx-location-configuration (uri "/api3/") (body (list "rewrite /api3/(.*) /api/$1 break;" |