Package: nginx-block-ai-bots
Version: 1.47+dfsg-1
Severity: important

# /etc/nginx/conf.d/block-ai-bots.conf

map $http_user_agent $block_ai_bots {
        default 0;
        ~* "(@AI_BOTS@)" 1;
}


should be

# /etc/nginx/conf.d/block-ai-bots.conf

map $http_user_agent $block_ai_bots {
        default 0;
        ~*(@AI_BOTS@) 1;
}


The space makes nginx fail to start.

Also, the quotes are not needed.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.4+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nginx-block-ai-bots depends on:
ii  nginx  1.30.1-7+b1

nginx-block-ai-bots recommends no packages.

nginx-block-ai-bots suggests no packages.

-- Configuration Files:
/etc/nginx/conf.d/block-ai-bots.conf changed [not included]

-- no debconf information

Reply via email to