Patch to make 404 pages etc and autoindex pages use valid HTML

Andras Farkas deepbluemistake at
Thu Dec 6 11:42:23 UTC 2018

On Wed, Nov 28, 2018 at 11:31 AM Maxim Dounin <mdounin at> wrote:
> Such a change will significantly modify typical rendering of error
> pages, so I would rather refrain from it unless there are more
> practical reasons than triggering standards-complaint mode instead
> of quirks mode - which does no seem to make any difference for
> pages nginx generates.
Is having it render differently a bad thing?  The meaning of any page
changed still remains clear and easy to read.  Invalid HTML (like
<center>) is so easy to remove and to turn into valid HTML, I don't
see why not to.
But, thank you for your reply, and for reading the patches!

More information about the nginx-devel mailing list