P
P
Pista2020-11-30 08:48:18
Nginx
Pista, 2020-11-30 08:48:18

How to exclude nginx 404 errors from logs?

How to exclude non-existent files from nginx 404 error logs? They scan the domain for some files, and all this gets into the log
2020/11/30 08:26:27 [error] 904#904: *132 open() "/var/www/html/domain.ru404" failed (2: No such file or directory), client: 172.68.182.28, server: domain.ru, request: "GET /wp/f22/redis.php HTTP/1.1", host: "domain.ru"

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Korotenko, 2020-11-30
@Pista

Yes Pista can do it.
nginx.org/en/docs/http/ngx_http_log_module.html#ac...
By the way, what does your nickname mean?

Y
Yuri, 2016-11-03
@YuryBorodkin

you take JSOUP and parse, I see no problem :)

D
Dauren S, 2016-11-03
@dauren101

Transfer data from website to mobile app?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question