Linux/nginx
CentOS 8 Nginx Load Balancing 설정
Nginx 에는 Load Balancing 기능이 있다. CentOS 8 환경에서 Nginx Load Balancing 기능을 설정해보자. 먼저 Nginx 의 Load Balancing 기법에 대해 알아보자. [Load Balancing Methods] Method 는 upstream { } 안에서 적용시킬 수 있다. Round Robin (Default) Least Connections : least_conn; IP Hash : ip_hash; Generic Hash : hash $request_uri consistent; Least Time (Nginx+ Only) : least_time header Random(Nginx+ ) : random two least_time=last_byte; 해당 글에..
2020. 4. 7. 11:52
최근댓글