From 89c9353364d87187810410b88283cacfe7814226 Mon Sep 17 00:00:00 2001
From: Travis Bot
Date: Fri, 27 Apr 2018 17:28:51 +0000
Subject: [PATCH] Deploy GitHub Pages
---
search/search_index.json | 4 ++--
user-guide/custom-errors/index.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/search/search_index.json b/search/search_index.json
index d80676b6c..ee96fa587 100644
--- a/search/search_index.json
+++ b/search/search_index.json
@@ -942,12 +942,12 @@
},
{
"location": "/user-guide/custom-errors/",
- "text": "Custom errors\n\u00b6\n\n\nIn case of an error in a request the body of the response is obtained from the \ndefault backend\n.\nEach request to the default backend includes two headers:\n\n\n\n\nX-Code\n indicates the HTTP code to be returned to the client.\n\n\nX-Format\n the value of the \nAccept\n header.\n\n\n\n\nImportant:\n the custom backend must return the correct HTTP status code to be returned. NGINX do not changes the response from the custom default backend.\n\n\nUsing this two headers is possible to use a custom backend service like \nthis one\n that inspect each request and returns a custom error page with the format expected by the client. Please check the example \ncustom-errors\n\n\nNGINX sends additional headers that can be used to build custom response:\n\n\n\n\nX-Original-URI\n\n\nX-Namespace\n\n\nX-Ingress-Name\n\n\nX-Service-Name",
+ "text": "Custom errors\n\u00b6\n\n\nIn case of an error in a request the body of the response is obtained from the \ndefault backend\n.\nEach request to the default backend includes two headers:\n\n\n\n\nX-Code\n indicates the HTTP code to be returned to the client.\n\n\nX-Format\n the value of the \nAccept\n header.\n\n\n\n\nImportant:\n The custom backend must return the correct HTTP status code to be returned. NGINX does not change the response from the custom default backend.\n\n\nUsing these two headers it's possible to use a custom backend service like \nthis one\n that inspects each request and returns a custom error page with the format expected by the client. Please check the example \ncustom-errors\n.\n\n\nNGINX sends additional headers that can be used to build custom response:\n\n\n\n\nX-Original-URI\n\n\nX-Namespace\n\n\nX-Ingress-Name\n\n\nX-Service-Name",
"title": "Custom errors"
},
{
"location": "/user-guide/custom-errors/#custom-errors",
- "text": "In case of an error in a request the body of the response is obtained from the default backend .\nEach request to the default backend includes two headers: X-Code indicates the HTTP code to be returned to the client. X-Format the value of the Accept header. Important: the custom backend must return the correct HTTP status code to be returned. NGINX do not changes the response from the custom default backend. Using this two headers is possible to use a custom backend service like this one that inspect each request and returns a custom error page with the format expected by the client. Please check the example custom-errors NGINX sends additional headers that can be used to build custom response: X-Original-URI X-Namespace X-Ingress-Name X-Service-Name",
+ "text": "In case of an error in a request the body of the response is obtained from the default backend .\nEach request to the default backend includes two headers: X-Code indicates the HTTP code to be returned to the client. X-Format the value of the Accept header. Important: The custom backend must return the correct HTTP status code to be returned. NGINX does not change the response from the custom default backend. Using these two headers it's possible to use a custom backend service like this one that inspects each request and returns a custom error page with the format expected by the client. Please check the example custom-errors . NGINX sends additional headers that can be used to build custom response: X-Original-URI X-Namespace X-Ingress-Name X-Service-Name",
"title": "Custom errors"
},
{
diff --git a/user-guide/custom-errors/index.html b/user-guide/custom-errors/index.html
index 964f0eea2..eab406aab 100644
--- a/user-guide/custom-errors/index.html
+++ b/user-guide/custom-errors/index.html
@@ -1025,8 +1025,8 @@ Each request to the default backend includes two headers:
X-Code
indicates the HTTP code to be returned to the client.
X-Format
the value of the Accept
header.
-Important: the custom backend must return the correct HTTP status code to be returned. NGINX do not changes the response from the custom default backend.
-Using this two headers is possible to use a custom backend service like this one that inspect each request and returns a custom error page with the format expected by the client. Please check the example custom-errors
+Important: The custom backend must return the correct HTTP status code to be returned. NGINX does not change the response from the custom default backend.
+Using these two headers it's possible to use a custom backend service like this one that inspects each request and returns a custom error page with the format expected by the client. Please check the example custom-errors.
NGINX sends additional headers that can be used to build custom response: