Issue #2200567 by greggles | Train: Fatal error, call to undefined function getallheaders() on nginx.