From 0d664a5e6b8bc236effcd100199a90a26bb03099 Mon Sep 17 00:00:00 2001 From: Lutchy Horace Date: Fri, 19 Mar 2021 11:42:32 -0400 Subject: [PATCH] Log plain http traffic in nginx --- createVhosts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/createVhosts.sh b/createVhosts.sh index f500b75..4efbc74 100755 --- a/createVhosts.sh +++ b/createVhosts.sh @@ -155,6 +155,9 @@ server { listen ${_listenip}80; server_name $_domain; + error_log /var/log/nginx/${_domain}.error.log; + access_log /var/log/nginx/${_domain}.access.log main; + location /.well-known { root /srv/http-content-combined/; autoindex on;