比如我们想用nginx拦截具体请求
https://www.xxx.com/googledc79351dc38501d4nginx.html
的请求,并响应具体字符串 gxxxxxxnginx
nginx配置如下
location ^~/googledc79351dc38501d4nginx.html{
return 200 'gxxxxxxnginx';
}
最后修改于 2020-03-12 08:56:56
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付

