enable pcre_jit in nginx

This commit is contained in:
packetcat 2023-03-03 18:57:25 -05:00
parent 89c3b18091
commit 4b138ede90
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@
- upstream streaming { - upstream streaming {
server 127.0.0.1:4000 fail_timeout=0; server 127.0.0.1:4000 fail_timeout=0;
} }
pcrejit:
- pcre_jit on
nginx_snippets: nginx_snippets:
blockbots: blockbots:
- if ($http_user_agent ~* (LanaiBotmarch|lanaibot|TinyTestBot|TinyBotTestUA) ) { - if ($http_user_agent ~* (LanaiBotmarch|lanaibot|TinyTestBot|TinyBotTestUA) ) {