It’s almost been a year to the day since I last wrote any line of code that I committed to a git repo on GitHub.

Burnout’s definitely been a real thing, and it’s been a real struggle to get back into the joy I had from tinkering and building things (no matter how jank the code) online.
In between fixing my health and personal life, and the challenges of being a cafe owner, I finally managed to push out some code to a new repo for a website.
I was surprised at how much I struggled using my simple docker container for php-apache, and getting it to interact with Caddy reverse proxy for my little project(s).
I’m glad I pushed through and finally did something about it!
It’s been a frantic 3 months or so since getting the cafe and the learning curve has been steep and once again, I turn to organising my home lab and home services to try and keep my technical skills going (and boy have they fallen short since leaving tech).
NPM has served me pretty faithfully all these years – but it wasn’t ever properly “configured” (API tests and connectivity checks would never work due to API failures somehow).
Containing all the sites
Every website that NPM used to point to was routed through a php-fpm container that had virtual hosts configured for it – this meant each time I had a site to have additional advanced nginx config parameters put in for every entry in it. This was a pain to do and prone to a lot of issues and errors.
It looked a lot like this:

This served my purposes quite well. But it WAS clunky to configure and add new sites to it.
Even more so, the biggest drawback was adding something like uptime-kuma or any other app to my server. Adding it as a subdomain in NGINX Proxy Manager was a muck around for some bizarre reason, and adding additional apps that worked on arbitrary ports through the web UI was troublesome. I suppose my biggest complaint at the end of the day was the webUI was somehow easy to use yet cumbersome 😱
I’ve been out of the tech game long enough to be able to claim ignorance to best practices now I think, but Caddy’s straightforward “chuck everything in a Caddyfile” approach simplified a lot of things for me – and made it straightforward routing traffic to apps, or different website domains as I needed.
None of this is new, and all of this is what I used to do in my dev environments back in the day. But I hadn’t touched it in so long it feels nice to be doing something so close to the “good old days”.
Baby steps…
Well… my last post mentioned the numerous domains I own – all “jtiong” themed – and one particular site was jtiong.games
This particular domain and its purpose was more to act as a nice set of subdomains for connecting to whatever various game servers I’d be hosting (most notably Minecraft). And really, that’s all I did. I built the boilerplate code for the jtiong.games website
I suppose one thing at a time. I’ll try to find more time to put down some more commits and enjoy the process of building up my little corner of the web with no timelimits or deadlines 🙂