4 ms·
I just use a VPS, Caddy with a 10 line Caddyfile and scp my html on to the machine. I don't find any real hurdles here and the only thing running on the server
by pSYoniK 4y ago
I just use a VPS, Caddy with a 10 line Caddyfile and scp my html on to the machine.
I don't find any real hurdles here and the only thing running on the server is Caddy to serve the content on https/http. Anything that's not a valid path returns a 404 custom page I made and that's it.
To get my HTML I use Hugo locally, but I'm not a huge fan of Hugo itself due to it's documentation which cannot be followed linearly and I plan on writing something to do just this - convert some markdown files and a folder structure to an HTML. I'm sure such a tool already exists but I'm curious about building something like this myself.
I think the hurdles appear depending on what you expect or want to do with your static page, but the base setup is I think pretty straightforward.