Hi All

I have simple drupal site running  and i wanted to redirect 404 pages to a
error page , So i  have following configuration in place

error_page  404 https://example.com/page-not-found;

when it try to access non existing  page such as   https://example.com/abc
, then  from nginx page correctly get redirect to the
*https://example.com/page-not-found
<https://example.com/page-not-found>*

But when i try to access non non-existing page ( with extension )  such as
 https://example.com/*abc.js  * it does not get redirected to the
*https://example.com/page-not-found
<https://example.com/page-not-found>  *page .

So is there any way to fix this issue?  , please advice

Thank You
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to