Welcome! Log In Create A New Profile

Advanced

Re: Getting built in 404 instead of my custom one

October 09, 2012 04:48AM
On Oct 9, 2012, at 12:34 , Ian M. Evans wrote:

> On Tue, October 9, 2012 4:26 am, Ian M. Evans wrote:
> [snip]
>> So, though it's now serving the custom 404, it's still serving a cached
>> version. So I guess I need a way to turn off caching for the custom 404
>> file. Just tried another one and, of course, got a cached 404 that someone
>> else had just tried.
>
> Think I solved the cached issue.
>
> Just created the location:
>
> location = /dhe404.shtml {
> fastcgi_pass 127.0.0.1:10004;
> fastcgi_cache_valid 0s;
> }
>
> and made the cache valid 0. Seems to work.

location = /dhe404.shtml {
fastcgi_pass ...
fastcgi_cache off;
}


--
Igor Sysoev
http://nginx.com/support.html

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Getting built in 404 instead of my custom one

Ian M. Evans October 08, 2012 09:50PM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 08, 2012 10:18PM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 08, 2012 10:58PM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 08, 2012 11:52PM

Re: Getting built in 404 instead of my custom one

Igor Sysoev October 09, 2012 03:58AM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 09, 2012 04:28AM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 09, 2012 04:36AM

Re: Getting built in 404 instead of my custom one

Igor Sysoev October 09, 2012 04:48AM

Re: Getting built in 404 instead of my custom one

Ian M. Evans October 09, 2012 04:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready