Welcome! Log In Create A New Profile

Advanced

Re: error_page without content type

Richard Stanway
May 14, 2013 06:10PM
On Tue, May 14, 2013 at 5:47 PM, Svoop <svoop@delirium.ch> wrote:

> Hi
>
> I'm setting a custom 404 page with:
>
> server {
> ...
> error_page 404 /errors/not-found.html;
> }

....
>
> Any idea what I'm doing wrong here?
>
> Thanks!
>

Looks like your 404s are being generated by a backend, not by nginx. You
may want to use fastcgi_intercept_errors / proxy_intercept_errors.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

error_page without content type

Svoop May 14, 2013 05:50PM

Re: error_page without content type

Richard Stanway May 14, 2013 06:10PM

Re: error_page without content type

Svoop May 15, 2013 07:22AM

Re: error_page without content type

Andre Jaenisch May 15, 2013 09:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 242
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready