That's right. The problem was in Nginx configurations. proxy_read_timeout was set to 10. Thanks you very much.