title: nginx + uwsgi 502 Bad Gateway python
body: <p>I'm running a script in python and takes a long time to process. The thing is if the function takes to long to run, i guess the nginx has a timeout, in his configuration and that prevents somekind of errors, and prevents the function to run completely.</p>
  
  <p>I just want to know were i can increse the value of the timeout. Because i've tried some commands in the file conf of nginx such as:</p>
  
  <pre><code>uwsgi_connect_timeout 75;
  uwsgi_send_timeout 75;
  uwsgi_read_timeout 75;
  keepalive_timeout 650;
  </code></pre>
  
  <p>but none of this worked.</p>
  
  <p>Thks in advance</p>