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 40ff7ea..b0c314e 100644 --- a/conf/nginx.conf.j2 +++ b/conf/nginx.conf.j2 @@ -4,6 +4,10 @@ location / { } try_files $uri @{{ app }}; } + client_max_body_size 50M; + client_body_timeout 60m; + fastcgi_read_timeout 60m; + location @{{ app }} { proxy_pass http://127.0.0.1:{{ port }}; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;