this post was submitted on 24 Jul 2023
8 points (90.0% liked)

Go programming language discussion

1382 readers
1 users here now

founded 5 years ago
MODERATORS
 

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
[โ€“] [email protected] 2 points 1 year ago

neat, thanks!

[โ€“] [email protected] 2 points 1 year ago

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