@abtnode/router-provider 1.16.14-beta-be739405 → 1.16.14-beta-811ed435

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.
@@ -361,7 +361,7 @@ class NginxProvider extends BaseProvider {
361
361
  return acc;
362
362
  }, {});
363
363
 
364
- capabilities.modulesPath = config['modules-path'];
364
+ capabilities.modulesPath = config['modules-path'] || process.env.NGINX_MODULES_PATH || '';
365
365
  if (capabilities.modulesPath && getDynamicModuleDirective('httpBrotli', capabilities.modulesPath)) {
366
366
  capabilities.httpBrotli = 'dynamic';
367
367
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/router-provider",
3
- "version": "1.16.14-beta-be739405",
3
+ "version": "1.16.14-beta-811ed435",
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-be739405",
36
- "@abtnode/logger": "1.16.14-beta-be739405",
37
- "@abtnode/router-templates": "1.16.14-beta-be739405",
38
- "@abtnode/util": "1.16.14-beta-be739405",
35
+ "@abtnode/constant": "1.16.14-beta-811ed435",
36
+ "@abtnode/logger": "1.16.14-beta-811ed435",
37
+ "@abtnode/router-templates": "1.16.14-beta-811ed435",
38
+ "@abtnode/util": "1.16.14-beta-811ed435",
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": "4a7be8e8a321f8be5b172c10c09c32af216a1c73"
62
+ "gitHead": "4525537afdeeb910675c28e2bf60a6d4ecf3b1f1"
63
63
  }