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: 404



On Thu, Sep 23, 2010 at 07:03:07AM -0400, Dmitry Veselov wrote:

>     :
> [code]
> # cat default.conf
> server {
>     limit_conn   myzone  10;
>     listen       80 default;
>     server_name  _;
> 
>     #charset koi8-r;
> 
>     access_log  /var/log/nginx/def.access.log  main;
>     error_log   /var/log/nginx/def.error.log;
> 
>     location / {
>         root   /usr/share/nginx/html;
>         index  404.html 404.htm;

 index   ?

>     }
> 
>     error_page  404              /404.html;
>         
>     location /404.html {

-     location /404.html {
+     location = /404.html {

>         root   /usr/share/nginx/html;
>     }
>         
>     # redirect server error pages to the static page /50x.html
>     #
>     error_page   500 502 503 504  /50x.html;
>     location = /50x.html {
>         root   /usr/share/nginx/html;
>     }
> }
> [/code]
>       css -
> url(/left0001.jpg)
> 
> Posted at Nginx Forum: 
> http://forum.nginx.org/read.php?21,133277,133307#msg-133307
> 
> 
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@xxxxxxxxx
> http://nginx.org/mailman/listinfo/nginx-ru

-- 
 
http://sysoev.ru

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


 




Copyright © Lexa Software, 1996-2009.