Increasing 504 timeout error

后端 未结 1 1537
再見小時候
再見小時候 2020-12-24 00:27

Is there any way I can make the error 504 gateway timeout longer if so how and where is the file to change it located. I am using nginx on centos 6

相关标签:
1条回答
  • 2020-12-24 01:06

    Depending on the kind of gateway you have you should use something like:

    proxy_read_timeout 600s;
    

    Check docs: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout

    0 讨论(0)
提交回复
热议问题