enable pcre_jit in nginx
This commit is contained in:
parent
89c3b18091
commit
4b138ede90
|
@ -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) ) {
|
||||||
|
|
Loading…
Reference in New Issue