Skip to content

Dan Q

    • Articles
    • Everything
    • Notes
    • Reposts (shares)
    • Checkins (geo*)
    • Videos
    • Reviews
    • Comics
    • Tags
    • Stats
    • Subscribe
    • Blogroll
  • About
    • Semi-standard "slash pages" you might like to explore:
    • /about
    • /blank
    • /blogroll
    • /colophon
    • /contact
    • /cv
    • /events
    • /license
    • /pfp
    • /postcards
    • /privacy
    • /salary
    • /shh
    • /slashes
    • /stats
    • /subscribe
    • /where
    • Hide posts of type:
    • Choose how Dan's dressed:
    • Hair
    • T-Shirt
  • Contact
  • Podcast

Tag: caddy

  • Re: How I made...

    Noah S shared how he used some PHP code to block specific badly-behaved bots from his website. I've got a few suggestions to help him make his block faster, easier-to-maintain, and more-thorough, either using PHP code or webserver configuration.

    Read more - about 5 minutes (982 words)

    • Reply
    • posted 14 September, 2026
  • Screenshot showing VSCode running in a web browser, being used to edit a static HTML website.

    A Selfhosted Static Site Editor

    Inspired by the way that Nekoweb's editor 'Nekode' works, I came up with a low-effort way to let my eldest get started with HTML and CSS editing, right from her browser, with the results selfhosted directly from the household NAS.

    Read more - about 3 minutes (535 words)

    • Article
    • 8 comments
    • posted 22 May, 2026
  • Caddy webserver logs, with a highlighted section showing a DNS-01 challenge for *.static.duckling.danq.me repeatedly fail and then eventually succeed, then a certificate chain being installed.

    Dynamically-Deployed Static Site Subdomains on Caddy

    Continuing my effort to find a way to serve my various static sites that meets my need for ease-of-use and low-maintenance, I configured a wildcard Caddy server with webhook-based monitoring of a GitHub repository. Here's how it works...

    Read more - about 5 minutes (1067 words)

    • Article
    • posted 8 May, 2026
  • I Am Experimenting with Blocking HTTP1.1

    Andrew Stephens has added Caddy configuration to prohibit HTTP/1 clients from accessing most of the pages of his website. I decided to probe it and see how that works.

    Read more (400 words)

    • Repost
    • of this original
    • 2 comments
    • posted 7 March, 2026
  • Screenshot of a MacOS terminal running commands to set up Caddy and PHP8.4 on a Debian server.

    PHP 8.4 on Caddy on Debian 13... in Three Minutes

    I just needed to spin up a new PHP webserver and I was amazed how fast and easy it was, nowadays. Just the stock package repositories and around five commands and my fresh box and it was serving PHP applications over HTTPS.

    Read more (253 words)

    • Article
    • 4 comments
    • posted 21 January, 2026
  • Reply to Vika, re: Content-Security-Policy

    Vika shared her frustrations with Content-Security-Policy nonces when delivering pre-generated/cached content. I've had a similar fight, so I've written-up a few of the things I tried and what I learned as a result.

    Read more - about 4 minutes (736 words)

    • Reply
    • 2 comments
    • posted 20 February, 2025
  • I'm pretty impressed with running WordPress on Caddy so far.

    It took a little jiggerypokery to configure it with an equivalent of the Nginx configuration I use for DanQ.me. But off the back of it I get the capability for HTTP/3, 103 Early Hints, and built-in "batteries included" infrastructure for things like certificate renewal and log rotation.

    Full image of Browser network debugger showing danq.me being served over protocol 'h3' (HTTP/3) and an 'Early Hints Headers' section loading a WOFF2 font and a JavaScript file.
    Alt

    Browser network debugger showing danq.me being served over protocol 'h3' (HTTP/3) and an 'Early Hints Headers' section loading a WOFF2 font and a JavaScript file.

    (why yes, I am celebrating my birthday by doing selfhosting server configuration, why do you ask? ๐Ÿ˜…)

    • Note
    • 2 comments
    • posted 8 January, 2025

Get in Touch

I'd love to hear from you! Why not...

  • email me on blog@danq.me?
    (my spam filter is aggressive, so use a good subject line, i.e. not just "hello"; encrypt your email if you like)
  • say hi on Mastodon, where I'm @dan@danq.me?
  • send a letter or postcard to
    Dan Q, Unit 159610, PO Box 7169, Poole, BH15 9EL, UK
  • reach out some other way?
  • ยฉ Dan Q 1998-2026
  • Creative CommonsAttributionNon-Commercial except where stated (how to use)
  • powered by BloqClassicPressHTML5CSS3
  • privacy
  • Read articles, checkins, notes, reposts, and more...
  • @dan@danq.me
  • contact
  • subscribe
  • Dan Q
  • Creative Commons Attribution Non-Commercial license
  • ClassicPress
  • CSS is awesome
  • Created by a human, not by AI
  • LGBTQ+ pride flag (2018 progress variant)
  • Polyamory flag
  • Say no to Web3
  • Mastodon (it's like email... no, come back!)
  • Tested on Firefox
  • Best viewed on the Internet
  • PHP
  • Ruby
  • Debian
  • Caddy (webserver)
  • Find me on Melonland
  • Check out my GitHub
  • Three Rings - by volunteers, for volunteers, since 2002
  • I'm a fucking webmaster
  • Looks best at: any resolution!