# nginx 打印请求体(body)内容

通过nginx打印请求体中的参数

http {

   log_format postdata $request_body;

   server {     
      location / {
         access_log  /var/log/nginx/postdata.log  postdata;
         proxy_paass http://localhost:8080;
      }
   }
}

最后更新: Mon, 29 Jan 2024 14:20:15 GMT

0 评论

加载中...
访问量:-