Custom 404 template not appearing

shiny

#1

hello,

i’ve updated my shiny-server.conf file with the template_dir directive.
the directive is functioning correctly for 403 and 5xx errors - however, 404 errors are not showing using the custom template.

i tried using both error-404.html and error.html as filenames, but i’m still getting the generic 404 page (“Page not found
Sorry, but the page you requested doesn’t exist.”).

any assistance would be greatly appreciated