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
|
||||
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 / {
|
||||
|
|
Loading…
Reference in a new issue