diff --git a/.github/workflows/build-and-stage.yml b/.github/workflows/build-and-stage.yml index ba15502f..4cd13c33 100644 --- a/.github/workflows/build-and-stage.yml +++ b/.github/workflows/build-and-stage.yml @@ -50,6 +50,7 @@ jobs: - 'api/**' - 'articles/**' - 'guides/**' + - 404.html - build-metadata.sh - docfx.json - name: Declare image versions diff --git a/404.html b/404.html new file mode 100644 index 00000000..bd4c9d39 --- /dev/null +++ b/404.html @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + Page Not Found | Steeltoe + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + Steeltoe Documentation + + +
+
    +
  • + +
    + Overview + Microservices + Cloud + Web Applications + Event Driven +
    +
  • +
  • + +
    + Steeltoe Initializr + Guides + Documentation + API Browser + Blog +
    +
  • +
  • + +
    + Steeltoe Application Configuration + Steeltoe Dynamic Logging + Steeltoe Management + Steeltoe Network File Sharing + Steeltoe Security + Steeltoe Service Connectors + Steeltoe Service Discovery +
    +
  • +
  • + Support +
  • +
  • + Community +
  • +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+

Page Not Found

+ +

We're sorry, but the page you're looking for cannot be found on the site.

+

+ Feel free to open an issue in the Steeltoe Documentation GitHub Repository + with the URL or content you expected to exist, and we'll be happy to look into it. +

+ +

+ Return to v4 documentation +

+
+
+
+
+
+
+
+
+
+
+ Copyright © 2005-2024 Broadcom. All Rights Reserved. The term + "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
+ • Privacy Policy + • Your California Privacy Rights + • Terms of Use + • Trademark Guidelines +
+
+
+
+
+
+ + + + + + + + + +
+
+ + + + + + + +
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + diff --git a/nginx.conf b/nginx.conf index 9f732303..f365be27 100644 --- a/nginx.conf +++ b/nginx.conf @@ -27,7 +27,11 @@ server { return 302 /api/v2/welcome; } - #error_page 404 /404.html; + error_page 404 403 /404.html; + location = /404.html { + root /usr/share/nginx/html; + internal; + } # redirect server error pages to the static page /50x.html #