diff --git a/nginx-lor.conf b/nginx-lor.conf new file mode 100644 index 0000000..b60de87 --- /dev/null +++ b/nginx-lor.conf @@ -0,0 +1,36 @@ +proxy_http_version 1.1; +proxy_pass https://www.linux.org.ru/; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-Real-IP $remote_addr; + +proxy_set_header Accept-Encoding ""; +proxy_method GET; +sub_filter_once off; +sub_filter 'https://www.linux.org.ru/' 'http://$host:$server_port/'; +sub_filter '' ''; +sub_filter_types *; +sub_filter ' -->'; +sub_filter 'as="script"' 'as="gowno"'; +sub_filter '' ''; +sub_filter 'Protected by Qrator' ''; +sub_filter '' ''; +sub_filter 'Регистрация' 'skunk-lover.ygg'; +sub_filter 'Вход' '2024'; +sub_filter 'yandex.ru' 'ninuzhno.org'; +sub_filter 'LINUX.ORG.RU — Русская информация об ОС Linux' 'LINUX.ORG.RU @ YGG — Русская информация об ОС Linux'; + +limit_except GET { + deny all; +} + +if ($uri ~ "login") { + return 404; +} +if ($uri ~ "register") { + return 404; +} +if ($uri ~ "add") { + return 404; +} \ No newline at end of file