根据IP地址进行过滤
172.22.172.128 - - [23/Sep/2021:18:05:35 +0800] "GET /#/registration HTTP/1.0" 200 1868 "-" "SLBHealthCheck" "-"
172.22.173.128 - - [23/Sep/2021:18:05:36 +0800] "GET /#/registration HTTP/1.0" 200 1868 "-" "SLBHealthCheck" "-"
172.22.173.0 - - [23/Sep/2021:18:05:36 +0800] "GET /#/registration HTTP/1.0" 200 1868 "-" "SLBHealthCheck" "-"
location / {
root /usr/share/nginx/html;
index index.html index.htm;
if ($remote_addr ~ 172.22) {
access_log off;
}
}