One reason I will have to do something like this, is because I want to wire up my #Caddy to mount iocaine at, say, /index.php
or somesuch, and link there from the real site (with an explicit note briefly explaining that it is not for humans), and keep some stats about how much time various IPs and user agents spend there, accross all sites.
This should help me discover new user agents or ip ranges to trap preemptively.
Why Did Early CD-ROM Drives Rely On Awkward Plastic Caddies? - These days, very few of us use optical media on the regular. If we do, it’s genera... - https://hackaday.com/2024/12/18/why-did-early-cd-rom-drives-rely-on-awkward-plastic-caddies/ #peripheralshacks #opticaldrive #opticalmedia #featured #interest #cdplayer #history #cd-rom #caddy #cdrom
Running a micropython-based web server in a FreeBSD jail, behind caddy for https.
Weird Stack Development!
It's hilarious that at the moment, my favicon is larger than the home page
Test URL: https://makeweb.orcanol.sharma.io/
Don't expect this to remain operational - I'm one accidentally-closed-laptop-lid away from the ssh connection breaking and the server shutting down unceremoniously.
I thought it would be appropriate for my first post here to be about running #gotosocial on my home server. In this blog post I describe the #ansible playbooks I used to deploy it to a #podman container along with a #caddy reverse proxy: https://1729.org.uk/posts/running-gotosocial-on-coreos/
@kevinctofel @otto42 just use #caddy or even better #FrankenPHP
They support SSL out of the box.
Anyone used Caddy and routed based on protocol headers?
I'm thinking of trying @Viss 's trick of hiding SSH inside HTTPS and Caddy seems to be the cool kid on the block.
Can't figure out how make mangane work.. (Using Caddy)
Edit: Pleroma-Fe is working with this Caddy config. Don't know how to configure Mangane.
Edit: Finally figured it out !
Anyone using Caddy with Pleroma ?
I'm finally done with setting up my #Mastodon instance properly. Here are some of the insights:
* Setup in such a way that user handle has domain rahil.rocks (@me@ rahil.rocks) but web UI resides at domain thoughts.rahil.rocks
* Streaming (live updates) uses secure websockets (wss://) on dedicated subdomain
* Nobody else except me can sign up (single user mode) or let alone even access login page.
* Ephemeral containers deployment using #Podman. Managing it like just another systemd service.
* Running nightly images cause I'm taking it lightly.
* Usual email setup for notifications (SMTP), #redis as cache (how long before I switch to fork), postgres as database
* Metrics collection with Prometheus
* Although reverse proxied behind #Caddy web server, but some static content (profile pictures, media attachments, preview thumbnails...i.e. system dir) served by Caddy for faster response.
* No more ugly (especially dark) stock UI . But thanks to @rolle for gorgeous Bird UI CSS mod for making it eye-pleasing.
* Most importantly, maximum character limit set to 9999 instead of default 500 (which is VERY restrictive for your verbose boss, me).
This one was painful to do. As I use containers images, to change the defaults, I'd to build my own image on top of official image. Just for one line of code change, there has to be so much of wastage of bandwidth, storage, maintenance, time, CPU cycles and power. This could've been easily prevented by fetching from env var instead of hard coding limit.
Could be improved:
* Documentation on deploying using Containers (docker/podman) is non existent. One has to connects bit and pieces to get it going.
* Simple env var to increase maximum character limit
* Being a platform where content is focused on text, supporting rich text or markdown is crucial.
* Bit hard to compose a post because of small text box.
TODO:
* Secure containers with SELinux