점프투 플라스크 nginx 설정 관련 오류
sudo systemctl restart nginx

입력시 실행이 안되어 로그를 살펴보니

Jun 01 01:34:25 pk systemd[1]: Starting A high performance web server and a reverse proxy server...
Jun 01 01:34:25 pk nginx[17606]: nginx: [emerg] unknown directive "log_not_found_off" in /etc/nginx/sites-enabled/myproject:5
Jun 01 01:34:25 pk nginx[17606]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jun 01 01:34:25 pk systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jun 01 01:34:25 pk systemd[1]: nginx.service: Failed with result 'exit-code'.
Jun 01 01:34:25 pk systemd[1]: Failed to start A high performance web server and a reverse proxy server.

이렇게 뜨네요...
어떻게 해결해야될지 감이 오지 않습니다.

milktan 1143

2022년 6월 1일 1:43 오전

목록으로
1개의 답변이 있습니다. 1 / 1 Page

작성하신 다음 파일의 내용을 보여주세요.

/etc/nginx/sites-enabled/myproject

박응용

2022년 6월 1일 10:03 오전

https://imgur.com/a/iZcc4Oa 입니다. - milktan님, 2022년 6월 1일 10:48 오전 추천 , 대댓글
enabled가 아니라 available 이였네요..^^ 하지만 또 에러가 나네요. enabled에 작성된 myproject를 이미 링크했는데 링크를 취소하고 available에 다시 링크하려면 어떻게 해야될까요? - milktan님, 2022년 6월 1일 11:19 오전 추천 , 대댓글
@milktan님 링크 삭제는 "rm 링크명" 하시면 됩니다. - 박응용님, 2022년 6월 1일 5:09 오후 추천 , 대댓글