Static sites are easy to deploy: rsync to some directory served up by NGINX seems to work well. At the other end of the spectrum, there are big web apps deployed as containers in a Docker Swarm, Kubernetes or whatever. I’m interested in the middle ground: mostly static sites with maybe a contact form, or a searchable image gallery.
How do people deploy sites like these? I’m talking about the sort of thing you’d serve from a single VPS: cheap and cheerful. Not a high traffic or high value corporate site.
Back in the dark ages, when I last did web development, CGI was pretty much the only option. Is CGI still a reasonable option? I find it hard to believe that starting a process to serve a request is actually too slow for most websites… but maybe I’m just hopelessly out of touch. Would rsync of static assets and a CGI binary be a bad way to deploy a website in 2019?
How do you lot deploy your personal or hobby websites?