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.
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.