Fix upload timeout + apply Lumière to settings/auth pages
Build and Deploy Verso / deploy (push) Successful in 15m0s
Build and Deploy Verso / deploy (push) Successful in 15m0s
Nginx: add dedicated upload location with client_body_timeout 15m, client_max_body_size 550m, and proxy_request_buffering off. Default client_body_timeout of 60s was the actual culprit cutting slow uploads. Node.js requestTimeout (build 228) remains as a backstop. Lumière: pass isLumiere from UserPagesController (settings), PasswordResetController (set-password), and UserActivateController (first-time activation). auth.scss adds card styling for auth pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,21 @@ server {
|
||||
internal;
|
||||
}
|
||||
|
||||
# File upload endpoints: stream directly to Node.js with generous timeouts
|
||||
# for large files on slow / unreliable connections.
|
||||
location ~ ^/project/[^/]+/upload$ {
|
||||
proxy_pass http://127.0.0.1:4000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_read_timeout 15m;
|
||||
proxy_send_timeout 15m;
|
||||
client_body_timeout 15m;
|
||||
client_max_body_size 550m;
|
||||
proxy_request_buffering off;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:4000;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user