Header http status code

dear all
I want to set the http status code use if directive not the
error_page directive!
I want to know what header variable to get the http status code
if ($header_something ~* ‘404’) {
return 402;
}
what is the $header_something?

thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs