Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: simpleanalytics/scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: simpleanalytics/scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: caddy
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 3 contributors

Commits on Sep 10, 2026

  1. Add Caddy custom-domains deploy destination

    Add a "caddy" destination alongside "custom" for the new Caddy-based
    custom-domains setup (elastic-infra ansible/vars/apps/custom-domains.yml).
    It uploads the same files as the old external nginx server, but rewrites
    the nginx SSI directives to Caddy template placeholders on upload, since
    Caddy's templates directive injects the request hostname and the
    proxy-product query parameters at serve time.
    
    The caddy-ssi transform fails the deploy if a build contains stray Go
    template delimiters or an SSI directive without a known replacement, so
    a bad build cannot turn into per-request 500s. Uploads go via a temporary
    file so the transformed bytes are what lands on the server, and the
    post-upload verification compares against the transformed content.
    
    A --caddy-only flag deploys exclusively to the new setup, leaving the CDN
    and the old external server untouched during the migration.
    
    Co-Authored-By: Claude Fable 5.1 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01ApznmYeffWY6YojKXhEJDW
    jimvandervoort and claude committed Sep 10, 2026
    Configuration menu
    Copy the full SHA
    b7b511b View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2026

  1. Escape Caddy proxy template values

    Simple Analytics Codex
    Simple Analytics Codex committed Sep 16, 2026
    Configuration menu
    Copy the full SHA
    b6382b5 View commit details
    Browse the repository at this point in the history
Loading