I'd like to add a .torrent file via the web UI, but the file gets rejected because of a large file size. The .torrent file in question has a size of 4.8M.
Error from nginx error.log (IPs redacted):
2021/06/23 08:26:20 [error] 37#37: *9 client intended to send too large body: 5073583 bytes, client: XX.XXX.XXX.XXX, server: localhost, request: "POST /php/addtorrent.php HTTP/1.1", host: "XX.XX.XXX.XXX:8080", referrer: "http://XX.XX.XXX.XXX:8080/"
Steps I have taken so far:
Navigated into docker container and edited /etc/php/7.2/fpm/php.ini -> changed upload_max_filesize from 2M to 7M
Edited /etc/nginx/nginx.conf -> added line under http -> Basic Settings client_max_body_size 20M;
Exited and restarted the docker container
I still get the aforementioned error in the nginx error.log.
I'd like to add a .torrent file via the web UI, but the file gets rejected because of a large file size. The .torrent file in question has a size of 4.8M.
Error from nginx error.log (IPs redacted):
2021/06/23 08:26:20 [error] 37#37: *9 client intended to send too large body: 5073583 bytes, client: XX.XXX.XXX.XXX, server: localhost, request: "POST /php/addtorrent.php HTTP/1.1", host: "XX.XX.XXX.XXX:8080", referrer: "http://XX.XX.XXX.XXX:8080/"
Steps I have taken so far:
upload_max_filesize
from2M
to7M
client_max_body_size 20M;
I still get the aforementioned error in the nginx error.log.
Any help would be appreciated.