짧은주소 설정위해 xe-rewrite.conf -> rhymix.conf 변경시 오류
CMS/프레임워크 | Rhymix 2.0 |
---|---|
개발 언어 | PHP 7.4 |
https://github.com/rhymix/rhymix-docs/blob/master/ko/introduction/nginx.md
해당 게시물을 참고하여
server {
경로설정,
서버설정
ssl설정
location / {
try_files $uri $uri/ =404;
}
rewrite ^/phpmyadmin/?$ /phpmyadmin/index.php redirect;
include snippets/xe-rewrite.conf;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
}
location ~ /\.ht {
deny all;
}
}
}
필요없는 부분은 다 지웠습니다 include snippets/xe-rewrite.conf; 에서 rhymix.conf로 변경하고 rhymix.conf 파일을 /snippets 폴더안에 넣고 경로까지 확인하였는데 nginx를 재시작시 에러가 발생합니다 혹시 이거외에 설정해줘야하는게 더 있을까요?
스포
Lv. 5
댓글 2
라고 읽으신 게시글에 적혀 있어요. 해당 구문을 삭제해 주세요.