File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed
frameworks/PHP/php-laravel/deploy Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 1
1
worker_processes 8 ;
2
2
3
3
events {
4
- worker_connections 1024 ;
4
+ worker_connections 2048 ;
5
+ multi_accept on ;
6
+ use epoll ;
5
7
}
6
8
7
9
http {
8
10
include /home/vagrant/FrameworkBenchmarks/installs/nginx/conf/mime.types;
9
11
default_type application/octet-stream;
10
12
access_log off ;
11
13
12
- sendfile on ;
13
- keepalive_timeout 65 ;
14
+ sendfile on ;
15
+ tcp_nopush on ;
16
+ tcp_nodelay on ;
17
+ keepalive_timeout 65 ;
18
+
19
+ open_file_cache max=2000 inactive=20s;
20
+ open_file_cache_valid 60s ;
21
+ open_file_cache_min_uses 5 ;
22
+ open_file_cache_errors off ;
23
+
24
+ #FastCGI optimizations
25
+ fastcgi_buffers 256 16k ;
26
+ fastcgi_buffer_size 128k ;
27
+ fastcgi_connect_timeout 30s ;
28
+ fastcgi_send_timeout 60s ;
29
+ fastcgi_read_timeout 60s ;
30
+ fastcgi_busy_buffers_size 256k;
31
+ fastcgi_temp_file_write_size 256k;
32
+ reset_timedout_connection on ;
33
+ server_names_hash_bucket_size 100 ;
34
+
14
35
15
36
upstream fastcgi_backend {
16
37
server 127.0.0.1:9001;
39
60
include /home/vagrant/FrameworkBenchmarks/installs/nginx/conf/fastcgi_params;
40
61
}
41
62
}
42
- }
63
+ }
You can’t perform that action at this time.
0 commit comments