Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Intercepting SSI errors

$
0
0
Hi all,
I was wondering if there is a way to intercept SSI errors. My approach may be entirely wrong, but I am creating a dynamic SSI link (based on $request_uri).

This is a developmental site I'm creating with a blog page, and I was hoping that the dynamic SSI would allow getting the blog content from an upstream Node server. If the wrong URI was put in, the Node server would output an HTTP error status, which in turn would be able to guide nginx to go to a 404 error page.

Thank you, in advance.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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