не работает error_page 503 /503.html;

Андрей Василишин andron at kpi.ua
Mon Mar 9 20:27:15 MSK 2009


Здравствуйте!
Использую конструкцию:

http {
    ...
    limit_zone   one  $binary_remote_addr  10m;
    ...
    server {
          ...
          error_page   502 503 504  /503.html;
          ...
          location / {
                   ...
                   error_page 404 = @backend;
          }
          location /files/ {
                   internal;
                   ...
                   limit_conn one  1;
          }
    }
}

Как сделать так, чтобы при превышении limit_conn one  1; клиенту 
отдавалась /503.html, сейчас я так понял отдается 404 (Firefox не может 
найти файл)?

-- 
WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE






More information about the nginx-ru mailing list