I have application in which i uploads multiple images using zip file.
It is working fine in my local system and also working fine on server if I upload only 2 images but when I am trying to upload more than 20 images in a single zip it gives me following error :
Failed to load resource: the server responded with a status of 504 (GATEWAY_TIMEOUT)
I am using centos + apache + passenger on server.
environment
OS: Centos7
ruby: 2.2.3 installed with rvm
passenger 5.5.0
rails: 4
PostgreSQL: latest version
apache installed with passenger
If you have any solution please answer.