<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Добрый день.<br>
    <br>
    Нужно вернуть 444 по рефереру<br>
    <br>
    Вот такая конструкция не работает:<br>
    --<br>
    <title>Konsole output</title>
    <div>
      <span style="font-family:monospace"><span
          style="color:#000000;background-color:#ffffff;">
                         if ($http_referer ~* </span><span
          style="color:#b21818;background-color:#ffffff;">"</span><span
          style="color:#000000;background-color:#b26818;">111</span><span
          style="color:#b21818;background-color:#ffffff;">\.111\.111\.111"</span><span
          style="color:#000000;background-color:#ffffff;">) {
        </span><br>
                                       access_log
                 /var/log/nginx/<span
          style="color:#000000;background-color:#b26818;">111.111.111.111</span><span
          style="color:#000000;background-color:#ffffff;">_referer.log;
        </span><br>
                                       return 444;
        <br>
                       }<br>
      </span></div>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    --<br>
    Спасибо.<br>
  </body>
</html>