title: Nginx, PHP: Error 524, A timeout occurred (during the long working process)
body: <p>I have a Laravel project and I'm creating videos with it. And the each video creation process takes about 2-3 minutes. For some video processes I'm getting:</p>
  
  <blockquote>
    <p>Error 524  Ray ID: ... A timeout occurred</p>
  </blockquote>
  
  <p>In the <code>/etc/nginx/nginx.conf</code> file I've already added the following params</p>
  
  <pre><code>http {
     fastcgi_read_timeout
     fastcgi_send_timeout
     proxy_read_timeout
     proxy_send_timeout
     proxy_connect_timeout
     send_timeout
  }
  </code></pre>
  
  <p>For all params I've set the unbelievable <strong>999999</strong> value. Also, I've updated the <code>max_execution_time</code> and <code>max_input_time</code> and set them as unlimited ( <code>PHP version 7.2.24</code> ) .</p>
  
  <p>After all these steps, I still have a timeout issue sometimes. What else can I do to prevent the issue?</p>