Hacker News new | past | comments | ask | show | jobs | submit login

What a nightmare. I'm sure there are use cases for a setup like this, but this is not the system I'd like to maintain. I use Jekyll because of it's simplicity. I edit my site in my favorite text editor and rsync to shared hosting.



Couldn't agree more. I love tinkering around with things and building setups just to learn, but for something like a personal webpage I just want simple.

I use hugo and then setup my output folder (where the generated output goes) as a git repo. Generate the site -> git commit/push -> Caddy. Caddy has a feature to pull in content from a git repo so when you couple that with the built-in Let's Encrypt support it makes it dead simple.


I also use hugo. In my setup, though, I have everything in one git repo - config files, content files, theme, output, etc. Nginx exposes its output directory.

I stopped using Caddy when I discovered that it didn't support one of the unusual TLDs I had. Maybe I should give it another go, though. That was over a year ago.


What do you mean it didn't support a TLD? It's a server, how does it need to "support" TLDs? In my experience, you just specify the hostname and it works.


I'm not sure. All I know is that when I had a domain name in there ending in ".space," the server ignored that config and served everything else.

I assumed it was because of the TLD, because everything else was otherwise identical to some of the other virtualhosts.


Huh, that's really odd. I wonder if it's a regex gone wrong.


Really? That shouldn't be the case: Caddy doesn't care about TLD. Will you file an issue?


I use a very similar system for static sites that I maintain. I edit my site in my favorite text editor and run 'git push'. :)

It was a bit of work to get everything running, but there's very little to actually maintain afterward. I'm definitely going to start replicating the setup elsewhere (including my own homepage, which is currently down due to its VPS having failed hard and me not having enough time to rebuild it).


Agreed on this front. Github pages is super simple with Jekyll. Literally push to your branch and it's deployed. This seems a bit overkill. Still interesting though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: