Skip to content

nginx 调试小技巧

响应体打印

nginx
location / {
        default_type    text/plain;
        return 502 $var;
}