Extra Form
PHP PHP 7.4
CMS Rhymix 2.x

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를 재시작시 에러가 발생합니다 혹시 이거외에 설정해줘야하는게 더 있을까요? 

  • profile
    주의: 라이믹스 2.0부터는 rewrite 규칙에 location / { try_files ... } 블럭이 포함되어 있으므로 사이트 설정에 동일한 블럭을 추가하면 오류가 발생합니다.

    라고 읽으신 게시글에 적혀 있어요. 해당 구문을 삭제해 주세요.
  • profile ?
    앗 try_files $uri $uri/ =404; 이런게 있었군요 감사합니다