有没有办法将用户名或用户 ID 存储在 nginx 日志中。我尝试在 log_format 指令中插入 $remote_user 但它似乎不起作用。
nginx logging django
django ×1
logging ×1
nginx ×1