Fix config
This commit is contained in:
parent
e068210fff
commit
f012ef2754
1 changed files with 9 additions and 13 deletions
22
default.conf
22
default.conf
|
@ -25,43 +25,39 @@ server {
|
||||||
|
|
||||||
# Rewrite OpenAI to bee movie script
|
# Rewrite OpenAI to bee movie script
|
||||||
if ($http_user_agent = "GPTBot") {
|
if ($http_user_agent = "GPTBot") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "CCBOT") {
|
if ($http_user_agent = "CCBOT") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "ChatGPT-User") {
|
if ($http_user_agent = "ChatGPT-User") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "GPTBot") {
|
if ($http_user_agent = "GPTBot") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "Google-Extended") {
|
if ($http_user_agent = "Google-Extended") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "Omgilibot") {
|
if ($http_user_agent = "Omgilibot") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "Omgili") {
|
if ($http_user_agent = "Omgili") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent = "FacebookBot") {
|
if ($http_user_agent = "FacebookBot") {
|
||||||
rewrite ^ /lol;
|
rewrite ^ /bee-movie.txt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($http_user_agent ~ (OPX)) {
|
if ($http_user_agent ~ (OPX)) {
|
||||||
rewrite ^ /oprgx.html;
|
rewrite ^ /opx.html;
|
||||||
}
|
|
||||||
|
|
||||||
location /lol {
|
|
||||||
proxy_pass https://askiiart.net/bee-movie.txt;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
Loading…
Reference in a new issue