fastcgi_cache работает как то странно

Igor Sysoev is at rambler-co.ru
Wed Apr 1 16:58:10 MSD 2009


On Wed, Apr 01, 2009 at 03:51:17PM +0300, maxhl at hitline.net.ua wrote:

> День добрый. :-)
> Обновился вчера с nginx-0.7.32.tar.gz до nginx-0.7.46.tar.gz
> В результяте на вирт хост перестали попадать запросы а идут на дефаулт.
> 
>       server {
>             listen тут мой ип:80;
>             server_name test.com *.test.com;
>             access_log /home/logs/bot_access.log combined;
>             error_log /home/logs/bot_error.log info;
>             server_name_in_redirect off;
>             root /home/bot;
>             index index.php index.html;
>             proxy_set_header   X-Real-IP     $remote_addr;
>             # redirect to php
> 
>    location / {
>         proxy_set_header Host $http_host;
>         proxy_set_header X-Real-IP $remote_addr;
> #                   proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_;
>         proxy_pass_request_headers on;
>         proxy_pass_request_body on;
>         proxy_pass  http://127.0.0.1:80/;
>         proxy_redirect default;
>     }
> }
> 
> Пришлось вернуть обратно ... :-(
> 
> Что то изменилось в директивах конфига ?

На дефолт чего - nginx'а или Апача ?


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list