Updated application to correctly use the new mechanism for preserving environment variables in nginx