Created
September 4, 2024 20:48
-
-
Save JayPeet/e190fd5a272549ce0a2ff44168aa5a4e to your computer and use it in GitHub Desktop.
Nginx OpenAI Deny List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IPs taken from: | |
# https://openai.com/searchbot.json | |
# https://openai.com/chatgpt-user.json | |
# https://openai.com/gptbot.json | |
# And presumably could change. | |
location / | |
{ | |
#deny OAI-SearchBot | |
deny 20.42.10.176/28; | |
deny 172.203.190.128/28; | |
#deny ChatGPT-User | |
deny 23.98.142.176/28; | |
deny 40.84.180.224/28; | |
deny 13.65.240.240/28; | |
deny 20.97.189.96/28; | |
deny 20.161.75.208/28; | |
deny 52.225.75.208/28; | |
deny 52.156.77.144/28; | |
deny 40.84.221.208/28; | |
deny 40.84.221.224/28; | |
deny 40.84.180.64/28; | |
#Deny GPTBot | |
deny 52.230.152.0/24; | |
deny 52.233.106.0/24; | |
deny 20.171.206.0/24; | |
#The rest of your location config... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment