■ AN INDEPENDENT FIELD GUIDE TO TECHNOLOGY EDITORIAL EDITION / 001
D/4 DIGIFOUR
← ALL GUIDES

A Production Checklist for Node.js on Linux

The essential steps between a successful local build and a dependable server.

Independent editorial guide. Verify specifications and commercial terms with the provider.

Define a reliable start process

Run the application under a service supervisor and define how it starts, restarts and shuts down. Ensure environment-specific configuration is kept outside source control.

Put a reverse proxy in front

Use a carefully configured reverse proxy to handle HTTPS, request sizes, timeouts and forwarding headers. Test routing and error handling.

Protect secrets and dependencies

Apply least-privilege file permissions, keep credentials outside the public directory, update dependencies and test security-relevant changes.

Monitor and recover

Collect application logs, track availability and resource use, test backups and document a repeatable rollback procedure.

Back to all guides