Advanced4 lessons88 minutes
Hosting a web application with Nginx
Serve a React/Vite build, put a Node.js or Next.js application behind a reverse proxy, and move to HTTPS.
Your application runs locally. This course puts it online: an Nginx server block for the static files, a reverse proxy for the Node application, a systemd unit so it survives a reboot, and a TLS certificate.
What you will be able to do
- Write an Nginx server block and test it before reloading
- Serve a Vite build with client-side routing handled correctly
- Put a Node.js application behind a reverse proxy with the right headers
- Understand why the application must never listen on 0.0.0.0
Outline
- 01
Serving static files
The server block, and the routing trap of a React application.
- 02
Reverse proxy for Node.js
Putting a running application behind a listening server.
Technical content last reviewed on 3 August 2026
