psitransfer
psitransfer copied to clipboard
Cryptic error message when upload file size exeeds maximum.
Thanx for developing PsiTransfer and making it available to the rest of us.
I'm currently playing with the docker image. It runs behind an Nginx proxy, parallel to some other docker based applications. When I triy to upload a file that exceeds the maximum allowed size, I get a rather cryptic error message:
tus: unexpected response while uploading chunk, originated from
request (method: PATCH, url: /files/c931c909b1c3++8ebf13b8-25ff-
46b4-b8bd-c6789ebe7c86, response code: 413, response text: <html>
<head><title>413 Request Entity Too Large</title></head>
<body> <center><h1>413 Request Entity Too Large</h1>
</center> <hr><center>nginx</center> </body> </html> , request id: n/a)
Is this by design or something weird on my end?
add to nginx.conf line:
client_max_body_size 2000M; #2GB limit