ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forbidden вместо 404 ошибки



index указан в http секции да, пробовал и в
вирт хосте писать - не помогло
конфиг:

cat nginx.conf

user www www;
worker_processes  2;
error_log  /var/log/nginx/error.log;
pid        /var/run/nginx.pid;

 events {
    use epoll;
    worker_connections  1024;
    multi_accept on;
 }

http {
     index        index.xml index.html;
     include      /etc/nginx/include/fastcgi_params;
     access_log   /var/log/nginx/access.log;
     userid on;
   log_format custom '[$time_local] $http_host $remote_addr "$request"
$http_referer $http_cookie $bytes_sent  $upstream_response_time';
    access_log  /var/log/nginx/access.log custom;
    server_names_hash_bucket_size 128;   
    sendfile       on;
    tcp_nopush     on;
    tcp_nodelay    on;

    gzip  on;
    gzip_buffers    64 16k;
    gzip_comp_level 1;
    gzip_disable    msie6;
    include /etc/nginx/sites-enabled/*;
    fastcgi_intercept_errors on;  
}

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,218455,218462#msg-218462

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.