forked from Hakase/nginx-build
Fix uninitialized error.
This commit is contained in:
@@ -1881,7 +1881,7 @@ ngx_http_process_request(ngx_http_request_t *r)
|
|||||||
"client sent plain HTTP request to HTTPS port");
|
"client sent plain HTTP request to HTTPS port");
|
||||||
// Connect 443 port to HTTP = Terminate
|
// Connect 443 port to HTTP = Terminate
|
||||||
// ngx_http_finalize_request(r, NGX_HTTP_TO_HTTPS);
|
// ngx_http_finalize_request(r, NGX_HTTP_TO_HTTPS);
|
||||||
ngx_http_terminate_request(r, rc);
|
ngx_http_terminate_request(r, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user