1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
you may need to adjust additional settings to further optimize your environment for handling a large number of connections. For example, you could try:
Increasing worker_processes to take advantage of multiple CPU cores. Increasing keepalive_timeout to allow for persistent connections. Setting proxy_http_version 1.1 and proxy_set_header Connection ""; to enable HTTP/1.1 support with proxying. Here's an example configuration:
worker_processes auto;
events {
worker_connections 10240;
}
http {
keepalive_timeout 65;
server {
listen 80;
location / {
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_pass http://your_upstream;
proxy_connect_timeout 3600;
proxy_send_timeout 3600;
proxy_read_timeout 3600;
}
}
}
관련 콘텐츠
- AWS 공식업데이트됨 8달 전
- AWS 공식업데이트됨 2년 전