Extra Form
PHP PHP 7.2
CMS Rhymix 2.x

1. LetEncrypt 를 Certbot로 설치했습니다.

 

2. 그랬더니 Rhymix 관리자 화면에서 Ajax 오류가 나타났습니다.

 

3. 해결이 안되서 Rhymix를 git로 다시 설치했습니다.

 

4. 그랬더니 index.php 설치화면의 [사용권 동의]는 뜨는데 [다음]으로 가면 

"405 Not Allowed"가 뜹니다.

 

5. phpMyAdmin을 설치했더니 그것은 정상적으로 뜹니다.

 

무엇이 문제인지 도움을 구합니다.

 

참고로 nginx 설정부분은 아래와 같습니다.

---------------------

server {
    listen 443 ssl; # managed by Certbot
    server_name www.cinemabucketlist.com;
    ssl_certificate /etc/letsencrypt/live/www.cinemabucketlist.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/www.cinemabucketlist.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    ssl_session_cache shared:SSL:50m;

    access_log  /home/logs/nginx/cinema.access.443.log main;
    error_log   /home/logs/nginx/cinema.error.443.log;

    client_max_body_size 100M;
    location ~* .(jpg|jpeg|png|gif|ico|css|js)$ {
        expires 365d;
    }
    root /home/cinema/www;
    index index.html index.htm index.php;
    include /etc/nginx/snippets/rhymix.conf;
    error_page 500 502 503 504  /50x.html;
    location = /50x.html {
        root   /home/cinema/www;
    }
    location ~ \.php$ {
        fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
        include /etc/nginx/snippets/fastcgi-php.conf;
    }
}

------------------

  • profile

    공사중 화면 구현을 위해 만들어 놓은 index.html, index.htm 따위의 파일이 있다면 삭제하세요. index.php를 찾아야 하는데, nginx의 index 설정 순서 때문에 다른 파일을 먼저 로딩하니까 라이믹스 설치에 방해가 됩니다.

     

    만약 SSL 설치 당시에도 이렇게 공사중 화면을 올려놓으신 상태였다면 ajax 오류도 그것 때문이었을 수 있습니다. 엉뚱한 파일 때문에 멀쩡한 사이트를 갈아엎으신 것 같네요...

  • profile profile
    너무 답답해서 밖에 나가서 1만보를 걷고 들어왔더니
    해결도두미가 되어 있네요.
    정말X3 감사드립니다.
    그런 간단한 함정이 있을 줄이야~~^^