Extra Form
PHP PHP 8.2
CMS Rhymix 2.0

우분투 노트북에 ddns 설정을 해놓고 (myddns.iptime.org) mydomain.com에 연결해 놓은 상태입니다.

myddns.iptime.org

mydomain.com

으로 들어가면 라이믹스 메인 기본페이지는 접속 잘되는상태입니다.

 

/var/www/test

/var/www/rhymix/test

라는 경로를 만들고 해당경로 안에 test.html을 넣어놓은 상태로

 

mydomain.com/test.html

mydomain.com/test/test.html

myddns.iptime.org.com/test.html

myddns.iptime.org.com/test/test.html

위의 주소처럼 test.html에 접속할 수 있는 설정을 하고 싶은데 어떻게 해야될까요?

 

/etc/nginx/sites-available/rhymix

파일에서 디렉토리를 설정해야 될까요?

 

server {
    server_name myddns.iptime.org; 
    root /var/www/rhymix;
    index index.php ;
    include snippets/rhymix-rewrite.conf;
    location ~ \.(gif|jpg|png)$ {
        add_header Vary "Accept-Encoding";
        add_header Cache-Control "public, no-transform, max-age=31536000";
    }

 

기본설치는 아래 글을 참조하여 만들었습니다.

https://blog.wsgvet.com/ubuntu-2004-install-php74-rhymix/