From 02706f0f915224b10403a3fefd75bd0003c6b197 Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Wed, 31 Dec 2025 11:11:48 +0700 Subject: [PATCH] feat(ui): add static html error pages for nginx fallback --- public/errors/403.html | 125 +++++++++++++++++++++++++++++++++++++++++ public/errors/404.html | 125 +++++++++++++++++++++++++++++++++++++++++ public/errors/500.html | 125 +++++++++++++++++++++++++++++++++++++++++ public/errors/502.html | 125 +++++++++++++++++++++++++++++++++++++++++ public/errors/503.html | 125 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 625 insertions(+) create mode 100644 public/errors/403.html create mode 100644 public/errors/404.html create mode 100644 public/errors/500.html create mode 100644 public/errors/502.html create mode 100644 public/errors/503.html diff --git a/public/errors/403.html b/public/errors/403.html new file mode 100644 index 0000000..4038ec6 --- /dev/null +++ b/public/errors/403.html @@ -0,0 +1,125 @@ + + + + + + 403 Forbidden | TrustLab API + + + +
+ +
+
+ grid +
+
+ grid +
+
+ + +
+

+ ERROR +

+ + 403 + + + + +

+ Forbidden. You do not have permission to access this page. +

+ + + Back to home + +
+ + +

+ © 2025 - TrustLab API +

+
+ + diff --git a/public/errors/404.html b/public/errors/404.html new file mode 100644 index 0000000..d175f59 --- /dev/null +++ b/public/errors/404.html @@ -0,0 +1,125 @@ + + + + + + 404 Not Found | TrustLab API + + + +
+ +
+
+ grid +
+
+ grid +
+
+ + +
+

+ ERROR +

+ + 404 + + + + +

+ We can't seem to find the page you are looking for! +

+ + + Back to home + +
+ + +

+ © 2025 - TrustLab API +

+
+ + diff --git a/public/errors/500.html b/public/errors/500.html new file mode 100644 index 0000000..5d4c668 --- /dev/null +++ b/public/errors/500.html @@ -0,0 +1,125 @@ + + + + + + 500 Server Error | TrustLab API + + + +
+ +
+
+ grid +
+
+ grid +
+
+ + +
+

+ ERROR +

+ + 500 + + + + +

+ Something went wrong on our end. Please try again later. +

+ + + Back to home + +
+ + +

+ © 2025 - TrustLab API +

+
+ + diff --git a/public/errors/502.html b/public/errors/502.html new file mode 100644 index 0000000..4153bce --- /dev/null +++ b/public/errors/502.html @@ -0,0 +1,125 @@ + + + + + + 502 Bad Gateway | TrustLab API + + + +
+ +
+
+ grid +
+
+ grid +
+
+ + +
+

+ ERROR +

+ + 502 + + + + +

+ Bad Gateway. The server received an invalid response. +

+ + + Back to home + +
+ + +

+ © 2025 - TrustLab API +

+
+ + diff --git a/public/errors/503.html b/public/errors/503.html new file mode 100644 index 0000000..f21b162 --- /dev/null +++ b/public/errors/503.html @@ -0,0 +1,125 @@ + + + + + + 503 Service Unavailable | TrustLab API + + + +
+ +
+
+ grid +
+
+ grid +
+
+ + +
+

+ ERROR +

+ + 503 + + + + +

+ Service Unavailable. We are probably under maintenance. +

+ + + Back to home + +
+ + +

+ © 2025 - TrustLab API +

+
+ +