chaoslawful/lua-nginx-module — Issue #73: ngx.HTTP_GATEWAY_TIMEOUT (504) does not exist
Author: Fry-kun
Created: 2011-12-02 00:33:29+00:00
State: open

There's no status constant for HTTP code 504. Using an integer works fine, though, e.g.
ngx.exit(504)