# HTTP Status Codes in Nginx

**URL:** <https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851>\
**Category:** NGINX\
**Created:** [October 15, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851 "2011-10-15T16:31:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [October 15, 2011, 4:31pm UTC](https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851/1 "2011-10-15T16:31:39Z")

</div>

Are the available HTTP Status codes documented anywhere?

Put another way, is it possible to issue all of the HTTP Status codes?

I am thinking about 501 not implemented for instance.

Thanks

---

<div class="post-metadata">

**Author:** ![Nginx\_U](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@Nginx\_U](https://www.ruby-forum.com/u/Nginx_U)\
**Post date:** [October 15, 2011, 5:14pm UTC](https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851/2 "2011-10-15T17:14:17Z")

</div>

On 10/15/2011 09:30 PM, Nginx U. wrote:

> Are the available HTTP Status codes documented anywhere?

Is this what you are looking for?

> **[List of HTTP status codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)**
>
> This article lists standard and notable non-standard HTTP response status codes. Standardized codes are defined by IETF as documented in Request for Comments (RFC) publications and maintained by the IANA. Other, non-standard values are used by various servers. The descriptive text after the numeric code – the reason phrase – is shown here with typical value, but in practice, can be different or omitted. Status codes defined by IETF are listed below. Emphasized terms must, must not and should ...

> **[HTTP/1.1: Status Code Definitions](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)**

---

<div class="post-metadata">

**Author:** ![Nginx\_U](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@Nginx\_U](https://www.ruby-forum.com/u/Nginx_U)\
**Post date:** [October 15, 2011, 5:46pm UTC](https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851/3 "2011-10-15T17:46:59Z")

</div>

On 15 October 2011 18:13, admin fefaya [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 10/15/2011 09:30 PM, Nginx U. wrote:
> 
> > Are the available HTTP Status codes documented anywhere?
> 
> Is this what you are looking for?
> 
> [List of HTTP status codes - Wikipedia](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)  
> [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)

Sorry. I meant the list of codes implemented by Nginx. I think I have  
seen such a list before on the wiki perhaps but can’t recollect where.

Particularly, I am thinking of comparing them with those provided by  
ngx\_lua.

Thanks

---

<div class="post-metadata">

**Author:** ![Nginx\_U](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/dec6dc/32.png) [@Nginx\_U](https://www.ruby-forum.com/u/Nginx_U)\
**Post date:** [October 15, 2011, 5:56pm UTC](https://www.ruby-forum.com/t/http-status-codes-in-nginx/212851/4 "2011-10-15T17:56:52Z")

</div>

On 15 October 2011 18:46, Nginx U. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Sorry. I meant the list of codes implemented by Nginx. I think I have  
> seen such a list before on the wiki perhaps but can’t recollect where.

Found what I wanted under the documentation for “return”.

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com
