vault-cortex 0.11.0 → 0.12.0
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/dist/env.js +42 -20
- package/package.json +1 -1
package/dist/env.js
CHANGED
|
@@ -94,17 +94,28 @@ MEMORY_DIR=About Me
|
|
|
94
94
|
# Host port to expose (default: 8000).
|
|
95
95
|
PORT=8000
|
|
96
96
|
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
#
|
|
100
|
-
#
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
104
|
-
#
|
|
105
|
-
#
|
|
97
|
+
# These two settings choose the client IP used for OAuth rate limiting and
|
|
98
|
+
# logs (defaults shown below). Without the right values, every visitor
|
|
99
|
+
# behind a proxy shares one rate-limit budget. TRUST_PROXY_HOPS counts the
|
|
100
|
+
# proxies you control that write X-Forwarded-For; TRUST_FORWARDED_HOPS
|
|
101
|
+
# counts the ones that write the RFC 7239 Forwarded header
|
|
102
|
+
# (https://www.rfc-editor.org/rfc/rfc7239), and 0 ignores that header.
|
|
103
|
+
#
|
|
104
|
+
# What sits in front of the server TRUST_PROXY_HOPS TRUST_FORWARDED_HOPS Client IP is
|
|
105
|
+
# Nothing (default) 0 0 the visitor (socket peer)
|
|
106
|
+
# A proxy or tunnel you control 1 0 the visitor (X-Forwarded-For)
|
|
107
|
+
# (Caddy, nginx, Cloudflare Tunnel)
|
|
108
|
+
# A proxy that reports visitors in 1 1 the visitor (Forwarded)
|
|
109
|
+
# Forwarded (e.g. AWS API Gateway)
|
|
110
|
+
# A CDN in front of that proxy, and 1 2 the visitor (Forwarded)
|
|
111
|
+
# the CDN is the only way to reach it
|
|
112
|
+
#
|
|
113
|
+
# When the Forwarded header is read (TRUST_FORWARDED_HOPS above 0), it wins
|
|
114
|
+
# and TRUST_PROXY_HOPS is not consulted; TRUST_PROXY_HOPS is the fallback
|
|
115
|
+
# when that header is ignored or absent. Faked headers from visitors are
|
|
116
|
+
# ignored in every row — only the counted proxies are trusted.
|
|
106
117
|
# TRUST_PROXY_HOPS=0
|
|
107
|
-
#
|
|
118
|
+
# TRUST_FORWARDED_HOPS=0
|
|
108
119
|
|
|
109
120
|
# Log verbosity: debug | info | warn | error (default: info).
|
|
110
121
|
LOG_LEVEL=info
|
|
@@ -221,17 +232,28 @@ MEMORY_DIR=About Me
|
|
|
221
232
|
# Host port to expose (default: 8000).
|
|
222
233
|
PORT=8000
|
|
223
234
|
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
#
|
|
227
|
-
#
|
|
228
|
-
#
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
#
|
|
232
|
-
#
|
|
235
|
+
# These two settings choose the client IP used for OAuth rate limiting and
|
|
236
|
+
# logs (defaults shown below). Without the right values, every visitor
|
|
237
|
+
# behind a proxy shares one rate-limit budget. TRUST_PROXY_HOPS counts the
|
|
238
|
+
# proxies you control that write X-Forwarded-For; TRUST_FORWARDED_HOPS
|
|
239
|
+
# counts the ones that write the RFC 7239 Forwarded header
|
|
240
|
+
# (https://www.rfc-editor.org/rfc/rfc7239), and 0 ignores that header.
|
|
241
|
+
#
|
|
242
|
+
# What sits in front of the server TRUST_PROXY_HOPS TRUST_FORWARDED_HOPS Client IP is
|
|
243
|
+
# Nothing (default) 0 0 the visitor (socket peer)
|
|
244
|
+
# A proxy or tunnel you control 1 0 the visitor (X-Forwarded-For)
|
|
245
|
+
# (Caddy, nginx, Cloudflare Tunnel)
|
|
246
|
+
# A proxy that reports visitors in 1 1 the visitor (Forwarded)
|
|
247
|
+
# Forwarded (e.g. AWS API Gateway)
|
|
248
|
+
# A CDN in front of that proxy, and 1 2 the visitor (Forwarded)
|
|
249
|
+
# the CDN is the only way to reach it
|
|
250
|
+
#
|
|
251
|
+
# When the Forwarded header is read (TRUST_FORWARDED_HOPS above 0), it wins
|
|
252
|
+
# and TRUST_PROXY_HOPS is not consulted; TRUST_PROXY_HOPS is the fallback
|
|
253
|
+
# when that header is ignored or absent. Faked headers from visitors are
|
|
254
|
+
# ignored in every row — only the counted proxies are trusted.
|
|
233
255
|
# TRUST_PROXY_HOPS=0
|
|
234
|
-
#
|
|
256
|
+
# TRUST_FORWARDED_HOPS=0
|
|
235
257
|
|
|
236
258
|
# Log verbosity: debug | info | warn | error (default: info).
|
|
237
259
|
LOG_LEVEL=info
|