Home >Backend Development >PHP Tutorial >[Log Analysis] Extract valid request uri from nginx log
#python代码: if re.search(r"(\.js|\.css|\.gif|\.jpe?g|\.png|\.ico|\.txt|\.swf|\.JPE?G|\.PNG|\.xml)", request[1]): continue
Copyright statement: This article is an original article by the blogger and has not been authorized Reprinting is not allowed with the permission of the blogger.
The above has introduced [Log Analysis] to extract the valid request uri from the nginx log, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.