Skip to main content
Kill -9 Club
Sign in
Advanced10 lessons222 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

Before this course

Taken from the learning path this course belongs to: the course placed just before it. A suggested order, not a lock — nothing here closes until you have finished it.

Outline

  1. 01

    Serving static files

    The server block, and the routing trap of a React application.

  2. 02

    Reverse proxy for Node.js

    Putting a running application behind a listening server.

  3. 03

    What the server actually serves

    The certificate that renews itself, the block that answers, and the limits that refuse.

Technical content last reviewed on 3 August 2026