forked from Bahmni/helm-umbrella-chart
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BAH-2566 | add custom error page for internal error (#9)
* BAH-2566 | added customized default backend for internal error * BAH-2566 | updated custom error configs based on helm Co-authored-by: MOHANKUMAR T <[email protected]>
- Loading branch information
1 parent
5fc9d78
commit 6bc8cac
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: custom-error-pages | ||
data: | ||
500: | | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>500 Internal Server Error</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | ||
<link rel="stylesheet" href="style.css" /> | ||
</head> | ||
<body> | ||
<img src="/bahmni-logo.png" alt="Bahmni" width="200" /> | ||
<h1>Internal Server Error</h1> | ||
<p>The server encountered an internal error or | ||
misconfiguration and was unable to complete | ||
your request.</p> | ||
<p>Please contact the server administrator to inform them of the time this error occurred, | ||
and the actions you performed just before this error.</p> | ||
<p>More information about this error may be available | ||
in the server error log.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters