Skip to content

[OSDOCS-15295] Update nw-customize-ingress-error-pages.adoc #96044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/nw-customize-ingress-error-pages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ If you use the {product-title} default 503 error code page as a template for you
[source,terminal]
----
$ oc -n openshift-config create configmap my-custom-error-code-pages \
--from-file=error-page-503.http \
--from-file=error-page-404.http
--from-file=error-page-503.http \
--from-file=error-page-404.http
----

. Patch the Ingress Controller to reference the `my-custom-error-code-pages` config map by name:
Expand Down Expand Up @@ -84,7 +84,7 @@ Verify your custom error code HTTP response:
+
[source,terminal]
----
$ oc new-app django-psql-example
$ oc new-app django-psql-example
----

. For 503 custom http error code response:
Expand Down