:raspberrypi-1.tail46eacb.ts.net {
    tls {
        get_certificate tailscale
    }

    # VS Code
    handle_path /edit* {
        reverse_proxy 127.0.0.1:8443
    }

    # File Browser
    handle_path /drive* {
        reverse_proxy 127.0.0.1:8082
    }

    # Music
    handle /music* {
        reverse_proxy 127.0.0.1:4533
    }

    # Trilium Notes
    handle_path /notes* {
        reverse_proxy 127.0.0.1:8081
    }

    # qBittorrent
    handle_path /tr* {
        reverse_proxy 127.0.0.1:8085
    }

    # ntfy
    handle_path /ntfy* {
        reverse_proxy 127.0.0.1:8083
    }

    # Gitea
    handle_path /git* {
        reverse_proxy 127.0.0.1:3001
    }

    # Homarr Dashboard (Root)
    handle {
        reverse_proxy 127.0.0.1:3000
    }
}