Fix config

This commit is contained in:
askiiart 2023-12-05 16:54:18 -06:00
parent e068210fff
commit f012ef2754
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67

View file

@ -25,43 +25,39 @@ server {
# Rewrite OpenAI to bee movie script
if ($http_user_agent = "GPTBot") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "CCBOT") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "ChatGPT-User") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "GPTBot") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "Google-Extended") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "Omgilibot") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "Omgili") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent = "FacebookBot") {
rewrite ^ /lol;
rewrite ^ /bee-movie.txt;
}
if ($http_user_agent ~ (OPX)) {
rewrite ^ /oprgx.html;
}
location /lol {
proxy_pass https://askiiart.net/bee-movie.txt;
rewrite ^ /opx.html;
}
location / {