Skip to content

Commit 4e5b67c

Browse files
committed
Updated nginx template
1 parent 52f0cb3 commit 4e5b67c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.docker/templates/default.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ server {
8989
# Define which paths to protect
9090
location ~ ^/(flag/flag|admin|user/login) {
9191
# Block bots on these paths only
92-
if ($http_user_agent ~* (bot|crawler|spider|scraper)) {
92+
if ($http_user_agent ~* (bot|crawl|crawler|spider|scraper)) {
9393
return 403;
9494
}
9595

0 commit comments

Comments
 (0)