日 The logs in 日 in NGINX basically use the log_form log name to display the log and other types. The example is as follows:
Log_Format Main '$ remote_addr -$ remote_user [$ Time_local] "$ Request"' '$ Status $ Body_ bytes_SENT "$ http_referr" '
'"$http_user_agent" "$http_x_forwarded_for"' '"$upstream_http_host" "$upstream_addr"';
***Emphasis added ***
$upstream_addr represents the address after the reverse proxy. In addition, there are many parameters, please refer to: wiki's upstram modual
or nginx official website configuration
The above introduces the Nginx log, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.