mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 21:28:05 +00:00
better logging
This commit is contained in:
parent
fbe7549604
commit
44ff0ac5df
@ -212,7 +212,8 @@ exports.checkWwws = checkWwws;
|
||||
function myVhostApp(req, res) {
|
||||
// SECURITY greenlock pre-sanitizes hostnames to prevent unauthorized fs access so you don't have to
|
||||
// (also: only domains approved above will get here)
|
||||
console.info("\n", req.method, (req.headers.host || "") + req.url);
|
||||
console.info("");
|
||||
console.info(req.method, (req.headers.host || "") + req.url);
|
||||
Object.keys(req.headers).forEach(function(key) {
|
||||
console.info(key, req.headers[key]);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user