Docker and deployment

Lesson 08 · 11 min

A domain, HTTPS, and a reverse proxy

There's one more server between the internet and the app. Why?

11 minLesson 8 of 9Practice includedAsk AI on any point

On your own server, the app listens on, say, port 3000, while users come to 443. Between them sits a reverse proxy — nginx, Caddy, or Traefik. It accepts HTTPS, decrypts it, and passes the request to the app over plain HTTP; it also serves static files, compresses responses, and can spread traffic across several copies. The domain is pointed at the server's IP with a DNS A record.

Sign in to continue

The rest of this lesson opens after sign up

The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.