Browse Source

nginx configuration: enable caching / precompiled regular expressions

pull/457/head
Marcel Partap 6 years ago
parent
commit
5af8d4ed2d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2

+ 2
- 0
roles/matrix-nginx-proxy/templates/nginx/nginx.conf.j2 View File

@@ -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;


Loading…
Cancel
Save