Chaning the 413 error message

how do i change the 413 error message?

413 Request Entity Too Large
thank you

Use something like:

error_page 413 /413.html;
location = /413.html {
root /path/to/your/site;

To change the error page. If you want to change nginx’s default
message, but not the error page, i guess you’d have to edit the code.
If none of the above please calrify. has many good references.

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