본문 바로가기 메뉴 바로가기

ABBO 기술 블로그

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

ABBO 기술 블로그

검색하기 폼
  • 분류 전체보기 (480) N
    • AI Trend (16) N
    • Git (12)
    • Server (242)
    • Client (69)
    • Apple (31)
    • Study (109)
  • 방명록

tail -f (1)
Nginx Error Log 설정과 보는 방법

Nginx 에서 에러가 났을 때 로그를 확인하기 위해서는 error_log.log 파일을 출력하여야 합니다. 이는 nginx.conf 설정에서 설정이 가능하고 어디에 출력이 되는지 path 설정도 가능합니다. http { ... server { access_log /var/log/nginx/default/access.log; error_log /var/log/nginx/default/error.log; } } 또는 서버에 따라 에러를 설정해주는 방법은 위의 글에서 default 대신 다른 서버명을 넣어두 됩니다. http { ... server { access_log /var/log/nginx/${server}/access.log; error_log /var/log/nginx/${server}/error..

Server 2021. 6. 26. 12:47
이전 1 다음
이전 다음
공지사항

Blog is powered by Tistory / Designed by Tistory

티스토리툴바