{"slug": "self-hosting-wafrn-behind-another-caddy-with-bluesky-support", "title": "Self-hosting Wafrn behind another Caddy, with Bluesky support", "summary": "A developer self-hosted the social media aggregator Wafrn on an existing VPS by replacing Nginx with Caddy as the primary web server to support Bluesky's ATProto accounts. The configuration required converting the Nginx setup and modifying Wafrn's deployment, with the resulting fork published on Gitlab for others to replicate the setup.", "body_md": "I've wanted to self-host a way to post in one place and reach BlueSky, Mastodon, Lemmy, etc… for a while. [Wafrn](https://wafrn.net/) is it, but hosting can be fussy. Here's what I did.\n\nThe *recommended* deployment is probably easy; it's just a Docker container, and if given a whole server, or at least control of the whole web frontend there shouldn't be much to it. I wanted to run it on my existing VPS, which has a bunch of services running behind Nginx. The deployment instructions explain why that won't work easily; Wafrn relies on Caddy's [automatic HTTPS](https://caddyserver.com/docs/automatic-https) for ATProto accounts.\n\nUsing the Caddy from Wafrn's container as a proxy is an option, but I really wanted the main web server to be separate. Fortunately, I had nothing against Caddy itself, and converting the Nginx config was a one-shot for an LLM tool.\n\nUpdating Wafrn to run in that configuration was not. I did use such a tool in that process, though it made enough errors along the way I think I may have been faster without it. I put [the resulting fork](https://gitlab.com/zak.wilson/wafrn) up on Gitlab in case anyone else wants to do the same.", "url": "https://wpnews.pro/news/self-hosting-wafrn-behind-another-caddy-with-bluesky-support", "canonical_source": "https://blog.goodanser.com/fediverse/post/03c6a4f4-cdd4-4027-a6a4-5017dd9154bd", "published_at": "2026-05-26 03:18:15+00:00", "updated_at": "2026-05-26 03:37:59.760332+00:00", "lang": "en", "topics": ["ai-tools"], "entities": ["Wafrn", "BlueSky", "Mastodon", "Lemmy", "Caddy", "Nginx", "ATProto", "Gitlab"], "alternates": {"html": "https://wpnews.pro/news/self-hosting-wafrn-behind-another-caddy-with-bluesky-support", "markdown": "https://wpnews.pro/news/self-hosting-wafrn-behind-another-caddy-with-bluesky-support.md", "text": "https://wpnews.pro/news/self-hosting-wafrn-behind-another-caddy-with-bluesky-support.txt", "jsonld": "https://wpnews.pro/news/self-hosting-wafrn-behind-another-caddy-with-bluesky-support.jsonld"}}