瀏覽代碼

更新 nginx 参考配置

imndx 2 年之前
父節點
當前提交
5ff86490ff
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      nginx/appserver.conf

+ 2 - 0
nginx/appserver.conf

@@ -25,6 +25,8 @@ server {
         ##
         ## send request back to app server ##
         location / {
+            # 扫码超时时间是 1 分钟,配置了大于一分钟
+            proxy_read_timeout 100s;
             proxy_pass http://127.0.0.1:8888;
         }