Caddy is a Reverse proxy written in theGo programming language. It comes with SSL out of the box.

SPAs

Common problems occur when trying to build and serve Single Page Apps with reverse proxies. It is important to differentiate between the files / routes the server should look for, and the routes the SPA will handle itself:

  try_files {path} /index.html
  file_server

This way, Caddy will try to find requested routes on the server itself - if not found, redirect them to the SPA’s index.html.

SSL for local domains

In your home network, Caddy comes in neat: