I'm trying to upload the data from an excel document to a database. It works with less than 1200 rows, but with more it generates error 502 (Bad Gateway). The excel I'm trying to upload contains 30,000 rows.
This error appears in the server log:
2016/06/06 20:43:13 [error] 6569 # 0: * 113 recv () failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: credits.app, request: "POST / uploadExcel HTTP / 1.1 ", upstream:" fastcgi: // unix: /var/run/php5-fpm.sock: ", host: "credits.app", referrer: " link "
Is there a configuration that I have to do in NGINX or PHP to make it work?
This is the file www.conf