v1.0.141: verify=False + nginx 300s timeout for chunked upload
This commit is contained in:
@@ -318,7 +318,7 @@ class Handler(BaseHTTPRequestHandler):
|
||||
|
||||
for i in range(total):
|
||||
chunk = raw[i*CHUNK:(i+1)*CHUNK]
|
||||
with httpx.Client(http2=True, timeout=30) as client:
|
||||
with httpx.Client(http2=True, timeout=30, verify=False) as client:
|
||||
r = client.post(
|
||||
f"{LUCEE_URL}/chunk.cfm?action=put",
|
||||
json={
|
||||
|
||||
@@ -49,6 +49,7 @@ server {
|
||||
add_header Access-Control-Allow-Headers "*";
|
||||
if ($request_method = OPTIONS) { return 204; }
|
||||
proxy_pass http://127.0.0.1:8766;
|
||||
proxy_read_timeout 300s;
|
||||
client_max_body_size 100m;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user