Tech

centos7 + nginx + letsencrypt 설정

nginx 설치 certbot 설치 $ yum install -y epel-release $ yum install -y certbot-nginx # 인증 $ certbot –nginx -d “my.domain.com” -d “domain.com”     참고 : https://gracefullight.github.io/2018/01/03/nginx-letsencrypt-fastest-way/  

글쓴이 master,
Tech

Help! Let’s Encrypt Error: “Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.”

Help! Let’s Encrypt Error: “Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.” Obtaining a new certificate Performing the following challenges: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. Client with 더 보기…

글쓴이 master,
Tech

github 원격 저장도 url 변경

git 서버 도메인 변경으로 원격저장도 url 변경   현재 설정 확인 $ git remote -v origin http://gitlab.old-domain.com/project.git (fetch) origin http://gitlab.old-domain.com/project.git (push) 도메인 변경 $ git remote set-url origin http://gitlab.new-domain.com/project.git 변경 확인 $ git remote -v origin http://gitlab.new-domain.com/project.git (fetch) origin http://gitlab.new-domain.com/project.git (push)

글쓴이 master,
Tech

워드프레스 권한 설정

chcon -R -t httpd_sys_content_t /srv/www/testsite.local/public_html ## Or some apps might need httpd_sys_rw_content_t ## chcon -R -t httpd_sys_rw_content_t /srv/www/testsite.local/public_html   권한 오류 발생 시 chcon -R -t httpd_sys_content_t /home/users/wordpress chcon -R -t httpd_sys_rw_content_t /home/users/wordpress