From e739eb7281e782ad944671002e51d0ba562c732c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 9 Jul 2004 07:12:14 +0000 Subject: nginx-0.0.7-2004-07-09-11:12:14 import --- src/http/ngx_http_request.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 3ffecc812..7abd57f80 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -54,7 +54,13 @@ /* Our own HTTP codes */ -#define NGX_HTTP_NGX_CODES NGX_HTTP_INVALID_HOST +#define NGX_HTTP_NGX_CODES NGX_HTTP_TO_HTTPS + +/* + * We use the special code for the plain HTTP requests that are sent to + * HTTPS port to distinguish it from 4XX in an error page redirection + */ +#define NGX_HTTP_TO_HTTPS 497 /* * We use the special code for the requests with invalid host name -- cgit v1.2.3