Styled Error Pages¶
What is this?¶
If this flag is set in the
Common error pages can be displayed with some consistent styling, based on this system.
What themes are available?¶
There are initially seven "themes" available, which are stored in
cats ghost hacker-terminal l7-dark l7-light noise shuffle
How do I change the theme?¶
The default theme is
Changing the theme can be done via the inventory:
How do I enable the error pages?¶
Enable error pages per role by adding the following to the inventory as desired:
rolename is, of course, the name of the role, as:
These error pages do not work with every app; do your own a/b testing to verify that nothing unexpected results.
You can find the roles [across saltbox and sandbox] that are known to NOT work with:
grep -Ril "_traefik_error_pages_enabled: false" /srv/git/saltbox/roles /opt/sandbox | cut -d/ -f6 | sort -u
Can I create a theme?¶
Duplicate one of the directories in
/opt/error_pages and make your changes.