nginx 返回 json
json
location /json {
default_type application/json;
return 200 '{"date":"$time_local","status":"success","result":"nginx json"}';
}
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »
location /json {
default_type application/json;
return 200 '{"date":"$time_local","status":"success","result":"nginx json"}';
}
当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »