diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-07-09 07:12:14 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-07-09 07:12:14 +0000 |
commit | e739eb7281e782ad944671002e51d0ba562c732c (patch) | |
tree | 72dbed5562b57b1c7be3a92e0b1516a15aac624c /src/http/ngx_http_request.h | |
parent | 755694565542b227c6966e8ba78425c84cf6e009 (diff) | |
download | nginx-e739eb7281e782ad944671002e51d0ba562c732c.tar.gz nginx-e739eb7281e782ad944671002e51d0ba562c732c.zip |
nginx-0.0.7-2004-07-09-11:12:14 import
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 |