Using error_page to a named location - possible?

Edho Arief edho at
Tue Mar 6 16:40:43 UTC 2012

2012/3/6 Ed W <lists at>:
> Does someone have a suggestion on how to customise the error response
> without affecting ANY incoming URLs (they must ALL be passed through the
> proxy under normal working situation)

Try location = /502.html { } instead.

More information about the nginx mailing list