From 102b063a56d0e72d101debfe13cb04bd5fe7a2e8 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Tue, 16 Jan 2024 17:30:31 -0300 Subject: [PATCH] jbgiausvftydv satrdv6saudtsabdfgh --- nginx/conf.d/search.nadeko.net.conf | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 nginx/conf.d/search.nadeko.net.conf diff --git a/nginx/conf.d/search.nadeko.net.conf b/nginx/conf.d/search.nadeko.net.conf new file mode 100644 index 0000000..0d5b8a1 --- /dev/null +++ b/nginx/conf.d/search.nadeko.net.conf @@ -0,0 +1,41 @@ +server { + server_name search.zzls.xyz search.nadeko.net; + include configs/general.conf; + include configs/security.conf; + + location / { + add_header Content-Type text/plain; + return 200 " + SearxNG is now down because Oracle deleted my account without even notifying me. Sorry. For now, please use other instance or you can use 4get, a more simple search engine. + + \t https://4get.nadeko.net" + } + + location /search { + add_header Content-Type text/plain; + return 200 " + SearxNG is now down because Oracle deleted my account without even notifying me. Sorry. For now, please use other instance or you can use 4get, a more simple search engine. + + \t https://4get.nadeko.net" + } + + listen 443 ssl; +} + +server { + if ($host = search.zzls.xyz) { + return 301 https://$host$request_uri; + } + if ($host = zzls.xyz) { + return 301 https://$host$request_uri; + } + if ($host = search.nadeko.net) { + return 301 https://$host$request_uri; + } + if ($host = nadeko.net) { + return 301 https://$host$request_uri; + } + server_name search.zzls.xyz search.nadeko.net; + listen 80; + return 404; +}