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

estless nginx-forum на nginx.us
Чт Ноя 17 09:23:59 UTC 2011


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