Rush has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/389409 )
Change subject: dynamicproxy: Add vhost to access.log ...................................................................... dynamicproxy: Add vhost to access.log Record the target host with each access log request. Bug: T178963 Change-Id: I12cd4b7f3da3572449327938ed54a17fc24a51bc --- M modules/dynamicproxy/templates/nginx.conf 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Rush: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/dynamicproxy/templates/nginx.conf b/modules/dynamicproxy/templates/nginx.conf index c4c8282..57ed04c 100644 --- a/modules/dynamicproxy/templates/nginx.conf +++ b/modules/dynamicproxy/templates/nginx.conf @@ -41,8 +41,8 @@ ## # Logging Settings ## - - access_log /var/log/nginx/access.log; + log_format vhosts '$host $remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'; + access_log /var/log/nginx/access.log vhosts; error_log /var/log/nginx/error.log; ## -- To view, visit https://gerrit.wikimedia.org/r/389409 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I12cd4b7f3da3572449327938ed54a17fc24a51bc Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: BryanDavis <[email protected]> Gerrit-Reviewer: Andrew Bogott <[email protected]> Gerrit-Reviewer: Madhuvishy <[email protected]> Gerrit-Reviewer: Rush <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
