Skip to content

Commit 41821c9

Browse files
feat: more effectively blocking site scanners
1 parent 4721059 commit 41821c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ server {
4848
try_files /index.html =404;
4949
}
5050

51-
location ~ ^/(background|user/auth|user/login(?:/desktop)?|vm-admin|twitch-bot(?:/config)?|imdb-search) {
51+
location ~ ^/(background|user/auth|user/login|vm-admin|twitch-bot|imdb-search) {
5252
root /usr/share/nginx/html;
5353
try_files $uri $uri/ /index.html =404;
5454
}

0 commit comments

Comments
 (0)