better logging
This commit is contained in:
		
							parent
							
								
									6cdbe36e6c
								
							
						
					
					
						commit
						fbe7549604
					
				| @ -212,7 +212,7 @@ exports.checkWwws = checkWwws; | |||||||
| function myVhostApp(req, res) { | function myVhostApp(req, res) { | ||||||
| 	// SECURITY greenlock pre-sanitizes hostnames to prevent unauthorized fs access so you don't have to
 | 	// SECURITY greenlock pre-sanitizes hostnames to prevent unauthorized fs access so you don't have to
 | ||||||
| 	// (also: only domains approved above will get here)
 | 	// (also: only domains approved above will get here)
 | ||||||
| 	console.info(req.method, (req.headers.host || "") + req.url); | 	console.info("\n", req.method, (req.headers.host || "") + req.url); | ||||||
| 	Object.keys(req.headers).forEach(function(key) { | 	Object.keys(req.headers).forEach(function(key) { | ||||||
| 		console.info(key, req.headers[key]); | 		console.info(key, req.headers[key]); | ||||||
| 	}); | 	}); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user