GetPageSpeed Extras

nginx-iplist-openai

nginx-iplist-openai

OpenAI bots (GPTBot, ChatGPT-User, SearchBot) combined

License: BSD https://github.com/dvershinin/trusted-lists

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10 20260617
RHEL 9 20260617
RHEL 8 20260617
RHEL 7 20260617
RHEL 6

Description

NGINX IP list configuration for openai. OpenAI bots (GPTBot, ChatGPT-User, SearchBot) combined Provides three NGINX config formats and a plain CIDR list: - geo directive: sets $is_openai to 1 for matching IPs - allow directives: for use with 'include' in location blocks - nolimit: bare geo entries for rate limit bypass (use inside geo block) - plain text CIDR list at /usr/share/trusted-lists/plain/openai.txt (consumed by fail2ban-trusted-lists-helper and other downstream tools)

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 10

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install nginx-iplist-openai

CentOS/RHEL 9

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install nginx-iplist-openai

CentOS/RHEL 8

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install nginx-iplist-openai

CentOS/RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install nginx-iplist-openai

Subscribe