I have 2 Apache servers and 2 Loadbalance servers and one File server (CentOS 7) for moodle and I am using maria db cluster.I want to download some file from students in moodle but I face a problem with this error: 504 Gateway Time-out The server didn't respond in time.I have changed my php.ini: max_execution_time = 1330000 And in my Loadbalancer the set up for haproxy.cfg is:contimeout 5000clitimeout 50000srvtimeout 50000Many Thanks for your help 
504 Gateway Timeout error
centos;apache httpd;mysql