diff --git a/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 b/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 index 9ee72c879..3db5a40c8 100644 --- a/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 +++ b/roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 @@ -18,6 +18,8 @@ events { worker_connections 1024; } +# "PCRE JIT can speed up processing of regular expressions significantly." +pcre_jit on; http { proxy_temp_path /tmp/proxy_temp;