From 6be28474e1072fc62d46fab7f402d8844cce3ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88?= Date: Tue, 26 Aug 2025 17:43:44 -0400 Subject: [PATCH] feat: more effectively blocking site scanners --- nginx/filesystem/etc/nginx/conf.d/nginx.conf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nginx/filesystem/etc/nginx/conf.d/nginx.conf b/nginx/filesystem/etc/nginx/conf.d/nginx.conf index 6e94474..d1f8e73 100644 --- a/nginx/filesystem/etc/nginx/conf.d/nginx.conf +++ b/nginx/filesystem/etc/nginx/conf.d/nginx.conf @@ -50,13 +50,6 @@ server { try_files $uri $uri/ /index.html; } - location ~ ^/(background|user/auth|user/login(?:/desktop)?|vm-admin|twitch-bot(?:/config)?|imdb-search) { - root /usr/share/nginx/html; - # First attempt to serve request as file, then - # as directory, then redirect to index(angular) if no file found. - try_files $uri $uri/ /index.html; - } - location / { return 404; }