Tag: reverse proxy
-
Nginx Reverse Proxy for Node.js (Config Snippet + Test with curl)
Running a Node.js app behind Nginx is a battle-tested pattern: Nginx handles TLS, static files, gzip, and connection upgrades (for WebSockets), while your Node app focuses on business logic. This guide gives you a clean, production-ready Nginx config and shows how to test it with curl. What you’ll set up Works on Ubuntu/Debian and CentOS/RHEL.…