tomcat日志记录来自哪个nginx 2018-4-27 19:13 | 4,490 | 0 | WEB 41 字 | 几秒读完 nginx反向代理中加入proxy_set_header hit_ngx $hostname; tomcat访问日志加%{hit_ngx}i tomcat访问日志中就会记录nginx服务器的主机名