Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: error_page without content type

$
0
0
Richard Stanway <r1ch+nginx@...> writes:
> Looks like your 404s are being generated by a backend, not by nginx. You
may want to use fastcgi_intercept_errors / proxy_intercept_errors.

You're right, but since the pages are served via Passenger, these directives
won't work. However, I found a way to pass the correct content type in the
routing table.

Thanks!

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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>