Skip to content

Commit 469626e

Browse files
Merge pull request #118 from nullinside-development-group/feat/scanners
feat: more effectively blocking site scanners
2 parents c485022 + 6be2847 commit 469626e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

nginx/filesystem/etc/nginx/conf.d/nginx.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ server {
5050
try_files $uri $uri/ /index.html;
5151
}
5252

53-
location ~ ^/(background|user/auth|user/login(?:/desktop)?|vm-admin|twitch-bot(?:/config)?|imdb-search) {
54-
root /usr/share/nginx/html;
55-
# First attempt to serve request as file, then
56-
# as directory, then redirect to index(angular) if no file found.
57-
try_files $uri $uri/ /index.html;
58-
}
59-
6053
location / {
6154
return 404;
6255
}

0 commit comments

Comments
 (0)