diff --git a/conf/app.src b/conf/app.src index 62eab80..7b93ab8 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://downloads.wkhtmltopdf.org/0.12/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz +SOURCE_URL=https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz SOURCE_SUM=049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db SOURCE_FILE=wkhtmltox-0.12.4_linux-generic-amd64.tar.xz SOURCE_FORMAT=tar.xz diff --git a/conf/nginx.conf.j2 b/conf/nginx.conf.j2 index 9289867..7a361c9 100644 --- a/conf/nginx.conf.j2 +++ b/conf/nginx.conf.j2 @@ -6,6 +6,11 @@ location / { } location @__APP__ { proxy_pass http://127.0.0.1:__PORT__; + + client_max_body_size 50M; + client_body_timeout 60m; + fastcgi_read_timeout 60m; + proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; proxy_buffers 16 64k; proxy_buffer_size 128k;