# Nginx 설정 시 가장 많이 하는 10가지 실수 피하기

> Clean Markdown view of GeekNews topic #6041. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6041](https://news.hada.io/topic?id=6041)
- GeekNews Markdown: [https://news.hada.io/topic/6041.md](https://news.hada.io/topic/6041.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-02-24T12:27:59+09:00
- Updated: 2022-02-24T12:27:59+09:00
- Original source: [nginx.com](https://www.nginx.com/blog/avoiding-top-10-nginx-configuration-mistakes/)
- Points: 27
- Comments: 0

## Topic Body

1. 워커당 File Descriptor가 충분하지 않음   
2. error_log off 는 없음  
access_log 는 off가 되지만, error_log는 off가 되지 않음. 이러면 off 이름을 가진 에러 로그 파일이 생성   
3. 업스트림 서버 연결에는 Keepalive를 활성화할 것  
4. 지시문 상속이 동작하는 방식 제대로 알기  
5. proxy_buffering off 사용 금지  
6. if 지시문의 잘못된 사용   
7. 과도한 헬스 체크 금지  
8. Metric 접근에 보안 설정하기   
9. 모든 트래픽이 같은 /24 CIDR 블록에서 오는 경우에는 ip_hash 대신 hash $binary_remote_addr consistent 사용   
10. 업스트림 그룹의 장점 활용하기

## Comments



_No public comments on this page._
