prevents revealing x-forwarded-for ip addresses in HTTP logs
This commit is contained in:
parent
1fc0138e65
commit
be1e672e68
|
@ -25,6 +25,7 @@ app.use(
|
||||||
"req.headers.cookie",
|
"req.headers.cookie",
|
||||||
'res.headers["set-cookie"]',
|
'res.headers["set-cookie"]',
|
||||||
"req.headers.authorization",
|
"req.headers.authorization",
|
||||||
|
"req.headers.x-forwarded-for",
|
||||||
],
|
],
|
||||||
censor: "********",
|
censor: "********",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue