504 Gateway Time-out

當使用nginx做反向代理tomcat時,ajax上傳大文件,容易出現504 Gateway Time-out超時的情況。 解決辦法: 增大代理超時時間設置 proxy_connect_timeout 600; proxy_send_timeout 600; proxy_read_timeout 600;(關鍵)
相關文章
相關標籤/搜索