zrrrzzt / docker-unoconv-webservice

Dockerfile to run unoconv as a webservice
MIT License
96 stars 35 forks source link

Possible to set max payload size? #1

Closed hehachris closed 8 years ago

hehachris commented 8 years ago

Currently I am getting Payload content length greater than maximum allowed: 1048576 if the file is too large.

zrrrzzt commented 8 years ago

The default filesize is set to 1048576 (1 MB). It is possible to adjust this in the settings for Hapi http://hapijs.com/api#route-options

Would it be enough for you @hehachris if I enabled adjusting the size through Dockers ENV-variables?

hehachris commented 8 years ago

@zrrrzzt that would be great, thanks a lot!

hehachris commented 8 years ago

thanks @zrrrzzt !

zrrrzzt commented 8 years ago

np :-)