Every time tests are run, we get something like: Gateway timeout. http://www.codetweet.com/nginx/solved-504-gateway-timeout-error-in-nginx-web-server/ solves it. We should implement that for the development box.