0

It appears that the error_page directive is ignored when a status code is returned in the server context.

My nginx config: enter image description here

MyResult

enter image description here

I expect to return to error_page.

not return

  return 200 '{"status":"sucess","result":"hello 200!"}';

0 Answers0