1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Update nginx.conf

PR to allow upload of bigger torrent files
On files >1M you got the "Entity too large" nginx error
This can be fixed by using : client_max_body_size 8M;
This commit is contained in:
notarobot63 2019-06-03 13:34:54 +02:00 committed by GitHub
parent 5a3f2640de
commit c125644d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
location __PATH__/transmission { location __PATH__/transmission {
proxy_pass http://127.0.0.1:__PORT____PATH__/transmission; proxy_pass http://127.0.0.1:__PORT____PATH__/transmission;
client_max_body_size 8M;
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding'; more_clear_input_headers 'Accept-Encoding';