Merge pull request #21 from mdphoto/master

Fix url down and client_max
This commit is contained in:
yalh76 2022-02-11 02:21:52 +01:00 committed by GitHub
commit fd9ca47b3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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;