Nginx 504 Gateway Timeout Proxy