fix: "return" always overrode "error_page" response code
Igor Sysoev
15 years ago
1 changed file(s) with
5 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+5
-1
src/http/modules/ngx_http_rewrite_module.c
less
more
177
177
code(e);
178
178
}
179
179
180
return e->status;
180
if (r->err_status == 0) {
181
return e->status;
182
}
183
184
return r->err_status;
181
185
}
182
186
183
187