From 2ef2d1296e2d74518e5d66492f8e8b145b8df299 Mon Sep 17 00:00:00 2001 From: mdphoto Date: Fri, 12 Jun 2020 17:41:57 +0200 Subject: [PATCH 1/4] Add client max body size --- conf/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf.j2 b/conf/nginx.conf.j2 index 40ff7ea..f85ca62 100644 --- a/conf/nginx.conf.j2 +++ b/conf/nginx.conf.j2 @@ -4,6 +4,8 @@ location / { } try_files $uri @{{ app }}; } + client_max_body_size 50M; + 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; From 606fc89319b959dc9a1a38e99160a9bec9a3e99f Mon Sep 17 00:00:00 2001 From: mdphoto Date: Fri, 12 Jun 2020 17:55:28 +0200 Subject: [PATCH 2/4] Update nginx.conf --- conf/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf.j2 b/conf/nginx.conf.j2 index f85ca62..b0c314e 100644 --- a/conf/nginx.conf.j2 +++ b/conf/nginx.conf.j2 @@ -5,6 +5,8 @@ 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 }}; From 7e5815982d48ddb9b8ef15446406f8eec832774f Mon Sep 17 00:00:00 2001 From: mdphoto Date: Sun, 12 Jul 2020 11:27:32 +0200 Subject: [PATCH 3/4] Update app.src Fixe bad link --- conf/app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.src b/conf/app.src index 62eab80..31a459e 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://downloads.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 From 0d259a41b9153ac67c914606a8524321bd5ace0f Mon Sep 17 00:00:00 2001 From: mdphoto Date: Sun, 12 Jul 2020 11:35:29 +0200 Subject: [PATCH 4/4] Update app.src Typo --- conf/app.src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.src b/conf/app.src index 31a459e..7b93ab8 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,4 +1,4 @@ -SOURCE_URL=https://downloads.https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/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