@abtnode/router-provider 1.16.14-beta-dc99d0a2 → 1.16.14-beta-dd4f6a50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/nginx/includes/proxy +4 -0
- package/package.json +6 -6
package/lib/nginx/includes/proxy
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# DOC: http://nginx.org/en/docs/http/ngx_http_proxy_module.html
|
|
2
|
+
|
|
1
3
|
# TODO: 需要优先读取应用代码透传的 header
|
|
2
4
|
# proxy_hide_header Access-Control-Allow-Credentials;
|
|
3
5
|
# proxy_hide_header Vary;
|
|
@@ -16,7 +18,9 @@ proxy_set_header X-Forwarded-Port $server_port;
|
|
|
16
18
|
proxy_set_header Upgrade $http_upgrade;
|
|
17
19
|
proxy_set_header Connection $connection_upgrade;
|
|
18
20
|
|
|
21
|
+
proxy_connect_timeout 60;
|
|
19
22
|
proxy_read_timeout 3600;
|
|
23
|
+
proxy_send_timeout 3600;
|
|
20
24
|
|
|
21
25
|
proxy_pass_header server;
|
|
22
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/router-provider",
|
|
3
|
-
"version": "1.16.14-beta-
|
|
3
|
+
"version": "1.16.14-beta-dd4f6a50",
|
|
4
4
|
"description": "Routing engine implementations for abt node",
|
|
5
5
|
"author": "polunzh <polunzh@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@abtnode/constant": "1.16.14-beta-
|
|
36
|
-
"@abtnode/logger": "1.16.14-beta-
|
|
37
|
-
"@abtnode/router-templates": "1.16.14-beta-
|
|
38
|
-
"@abtnode/util": "1.16.14-beta-
|
|
35
|
+
"@abtnode/constant": "1.16.14-beta-dd4f6a50",
|
|
36
|
+
"@abtnode/logger": "1.16.14-beta-dd4f6a50",
|
|
37
|
+
"@abtnode/router-templates": "1.16.14-beta-dd4f6a50",
|
|
38
|
+
"@abtnode/util": "1.16.14-beta-dd4f6a50",
|
|
39
39
|
"@arcblock/http-proxy": "^1.19.1",
|
|
40
40
|
"axios": "^0.27.2",
|
|
41
41
|
"debug": "^4.3.4",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"bluebird": "^3.7.2",
|
|
60
60
|
"fs-extra": "^10.1.0"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "fb3858f842b221f0a8c298307b393d55c555af45"
|
|
63
63
|
}
|