id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 98,Unable to set Retry-After header with 503 response,phillipoldham.myopenid.com,somebody,"Currently its not possible to use add_header to set a Retry-After header when responding with a 503 header. This causes a problems when trying to inform clients to retry after a timeout when to bring backends back-up after an error. There are currently work-arounds which involve issuing the headers via a dynamic language (either with a proxy or the perl module) however this may not be possible if these are the cause of the 503. Suggested resolutions: Either allow ""add_headers retry-after"" for 50x errors, or change the syntax of error_page to allow one to append ""retry-after x"" to the entry and have nginx add the header.",defect,closed,minor,,nginx-core,1.0.x,fixed,,,n/a,all versions