Skip to content
Discussion options

You must be logged in to vote

I have identified the issue: when deploying with nginx, the default timeout is set to 60 seconds. Generating high-quality images can exceed this time limit, causing the connection to be lost. I recommend increasing the timeout value to 600 seconds in the nginx.conf file.

location /api {
        proxy_pass http://api:3080/api;
        proxy_connect_timeout 600;
        proxy_send_timeout 600;
        proxy_read_timeout 600;
        send_timeout 600;
        proxy_buffering on;
        proxy_buffers 8 128k;
        proxy_busy_buffers_size 256k;
        proxy_max_temp_file_size 0;
}

@danny-avila

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@DeviesVi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@KiS-please
Comment options

@epearson
Comment options

@epearson
Comment options

@DeviesVi
Comment options

@KiS-please
Comment options

Answer selected by DeviesVi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #7133 on April 29, 2025 14:03.