Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Block of code if file not found
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Block of code if file not found
- From: "nrsk" <nginx-forum@xxxxxxxx>
- Date: Tue, 04 Dec 2012 09:47:28 -0500
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tigger.jlkhosting.com; s=x; h=Date:Sender:From:References:In-Reply-To:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=+qBPnR2A8w96v+mnQ8652wb5+doIcgyqoaV2zrwwQ+A=; b=U8OYGOpCvOuFZl+Hbow+qx2lxDkkv+fQQZ9B6dCay3UDja+5npVZ1nnkNJcJgzXUEBi4YjKX/uG789WvoOjmIclfAMBglZc8YeIto1XMixIr8PBINk+0K6y6hUoZPY4f;
- In-reply-to: <201212041655.30230.vbart@nginx.com>
- References: <201212041655.30230.vbart@nginx.com>
Спасибо, Вы правы, я пыталась получить файлы по другому пути: с другого
сервера, а обращение происходило к локальному. В итоге решила задачу с
помощью
proxy_intercept_errors on;
error_page 404 502 504 = @notfound;
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,233516,233568#msg-233568
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|