macsplex.com 로그인

검색

조회 수 1335 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
Extra Form

nginx 실행시  nginx: [emerg] "rewrite" directive is not allowed here in /etc/nginx/conf.d/rewrite.conf 에러로그 발생시


/etc/nginx/nginx.conf에 있는


include /etc/nginx/conf.d/*.conf; 줄과


/etc/nginx/sites-available/default 에 # Virtual Host Configs에


include /etc/nginx/conf..d/rewrite.conf 겹쳐지는 경우


nginx.conf에 있는 include /etc/nginx/conf.d/*.conf;


해당줄을 주석처리하면 해당에러가 사라집니다.







--------------------------------------------------광고(Advertising)-------------------------------------------------------------------------------------


TAG •

리눅스 Tip

Linux Tip

List of Articles
번호 분류 제목
11 Fedora VMware Remote-Console 설치 에러
10 Fedora sudo 유저추가
9 Fedora yarn 설치방법
8 Ubuntu 우분투 18.04 영문판에서 한글입력 추가 file
7 CentOS CentOS 8 웹콘솔(Cokpit) 설치하기 file
» Debian nginx "rewrite" directive is not allowed here in 에러발생시
5 Debian 워드프레스 고유주소 nginx 설정
4 Debian 웹로그분석툴 GoAccess file
3 Debian Ngnix 특정폴더 인증절차추가
2 nginx nginx semrush bot 차단
1 nginx nginx rewrite 예제
Board Pagination Prev 1 ... 3 4 5 6 7 8 Next
/ 8