• 日志记录post数据
  • http {
        include       mime.types;
        default_type  application/octet-stream;
        log_format my_fomat $request_body;
        server {
            listen 80;
            server_name www.***.com;
            location / {
                ***
            }
            location /login {
                ***
                access_log /***/post.log my_fomat;
            }
        }
    }