I'm currently working on creating custom error pages on Drupal 9.
I know I can easily add customized pages for 404 and 403, but how can I use custom pages for all possible errors like 401, 403, 500, 502, and etc.?
I found this module: https://www.drupal.org/project/error_page but I couldn't see the result, not so sure which part I messed up with.
If using NGINX include someting like:
in the server section of your configuration file.