<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Arial">Hello,</font></p>
<p><font face="Arial">How not to log 404 errors:</font></p>
<p><font face="Arial"> 2019/10/29 12:42:09 [error] 469#469: *16382
open() "/var/www/website/fr/telecharger" failed (2: No such file
or directory),</font></p>
<p><font face="Arial">In my config I have:</font></p>
<p><font face="Arial">error_log /var/log/nginx/website-error.log;</font></p>
<p><font face="Arial">Because I use 404 for doing url rewriting and
so they are not errors...</font></p>
<p><font face="Arial">error_page 404 = /url_rewriting.php;<br>
</font></p>
<p><font face="Arial"><br>
</font></p>
<p><font face="Arial">Thanks,<br>
Vincent.<br>
</font></p>
</body>
</html>