Debian 源
GPG 密钥
curl -fsSL https://deb.ksyaki.com/public-key.asc \
| gpg --dearmor --batch --yes -o /usr/share/keyrings/ksyaki.gpg
Nginx
加入自定义模块的nginx的debian12/13源
已编译进入nginx的模块
ngx_http_geoip2_modulengx_healthcheck_modulengx_auth_cookie_modulengx_http_upstream_fair_module
Debian 13
tee /etc/apt/preferences.d/99-ksyaki-nginx.pref >/dev/null <<'EOF'
Package: nginx nginx-* libnginx-mod-*
Pin: origin deb.ksyaki.com
Pin-Priority: 1001
EOF
echo "deb [signed-by=/usr/share/keyrings/ksyaki.gpg] https://deb.ksyaki.com/nginx trixie main" \
| tee /etc/apt/sources.list.d/ksyaki-nginx.list
apt update
apt install nginx
Debian 12
tee /etc/apt/preferences.d/99-ksyaki-nginx.pref >/dev/null <<'EOF'
Package: nginx nginx-* libnginx-mod-*
Pin: origin deb.ksyaki.com
Pin-Priority: 1001
EOF
echo "deb [signed-by=/usr/share/keyrings/ksyaki.gpg] https://deb.ksyaki.com/nginx bookworm main" \
| tee /etc/apt/sources.list.d/ksyaki-nginx.list
apt update
apt install nginx