Family sign in
Tech

Building this site: Ghost, Authentik and "Log in with Plex"

How forthelolz.com went from a static splash page to a self-hosted Ghost blog with a members area behind a Plex login, plus the four snags along the way.

November 30, 2026 · James · 2 min read

Until this week forthelolz.com was a single static page. Now it's a proper site, running entirely on hardware in my house: a blog with Tech and Family sections, and a members area for the people I share my Plex server with.

The pieces

  • Ghost runs the blog, backed by a MySQL database. Some Family posts are members-only. Members sign in with a link sent to their email, so there are no passwords to remember.
  • Authentik handles logins for the members area, with a "Log in with Plex" button. Only people who have access to my Plex server get in. Share Plex with someone and they can use the members area; stop sharing and they can't.
  • Homepage is the members dashboard at home.forthelolz.com: what's streaming right now, library numbers, request stats, links to the book and audiobook apps, and a server status tile.
  • Uptime Kuma watches everything and feeds that status tile. It also emails me when something goes down.
  • Nginx Proxy Manager sits in front of it all, handling HTTPS certificates and routing each name to the right container.

Everything runs as Docker containers on smeagol, in its own compose project, kept separate from the media stack. The theme is custom-built from a mockup: dark, with blue for Tech and violet for Family.

Snag 1: the database wouldn't start

MySQL 8.4 crashed straight away with CPU does not support x86-64-v2. The VM's virtual CPU was set to Proxmox's old generic default, which hides features that MySQL now requires. Changing the VM's CPU type to host fixed it, after one more restart of smeagol.

Snag 2: "wrong version number"

The new site showed "502 Bad Gateway". The proxy was set to talk to Ghost over https, but Ghost only speaks plain http inside the network. HTTPS belongs between the visitor and the proxy, not between the proxy and the app. Switching the scheme to http fixed it.

Snag 3: Plex retired an API

Logging in with Plex failed with an internal error. Authentik's "Allow friends" option asks Plex for your friends list, and Plex has retired that part of its API: it now answers 410 Gone. The option turned out not to be needed. Restricting logins to my server already lets in everyone I share with, so I switched it off and the login worked.

Snag 4: a certificate that expired in March

While testing, I noticed one of my subdomains had been serving an expired certificate since March. Every other certificate renews by proving ownership through Cloudflare DNS. That one was set to prove it over port 80, which my router doesn't forward, so every renewal had failed. Reissuing it the DNS way fixed it for good.

What's next

  • Email updates when a new Family post goes up. Ghost sends newsletters through Mailgun rather than a normal mail server, so that needs its own solution.
  • More posts, including some from the Family side.

If you're reading this, it all works. Thanks for visiting.