prevents revealing x-forwarded-for ip addresses in HTTP logs

This commit is contained in:
nai-degen 2023-05-04 16:31:40 -05:00
parent 1fc0138e65
commit be1e672e68
1 changed files with 1 additions and 0 deletions

View File

@ -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: "********",
}, },