9
submitted 1 year ago by trevor@lemmy.ml to c/golang@lemmy.ml

Hey all, I just wrote this up after migrating a metric ton of Go projects hosted on a Forgejo (Gitea) instance to a new domain by adding just a couple of lines to my Caddyfile. I thought the process would be much more involved, but the snippet I found and modified managed to handle everything without any tedious path rewriting or other vanity URL setup.

I hope it's helpful for someone else who needs to migrate to a new domain. I got an email from my registrar recently warning about a 60% price increase for .space TLDs. Careful readers may make a connection between this event and this blog post.

top 2 comments
sorted by: hot top controversial new old
[-] custom_situation@lemm.ee 2 points 1 year ago

neat, thanks!

[-] pztrn@bin.pztrn.online 2 points 1 year ago

I wrote giredore exactly for that and isn't tied to some web server.

this post was submitted on 24 Jul 2023
9 points (100.0% liked)

Go programming language discussion

1382 readers
1 users here now

founded 5 years ago
MODERATORS