September 23, 2010 07:03AM
в общем работает следующая комбинация:
[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;
}

error_page 404 /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)
Subject Author Posted

404 и слэш

Dmitry Veselov September 23, 2010 05:13AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 05:34AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:39AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:01AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:16AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:18AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:24AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:31AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:40AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:50AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 07:03AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:30AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:36AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:42AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 07:28AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 11:16AM

Re: 404 и слэш

Дмитрий Андреев September 23, 2010 11:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready