Klaus Demo nginx / 97c7e1a
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
177177 code(e);
178178 }
179179
180 return e->status;
180 if (r->err_status == 0) {
181 return e->status;
182 }
183
184 return r->err_status;
181185 }
182186
183187