Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rust-bots

일반적인 유지 관리 절차

새 도메인 추가하기

먼저 sudo vim /etc/nginx/nginx.conf를 편집하여 도메인을 추가하도록 nginx 설정을 수정하십시오.

server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name <domain>.infra.rust-lang.org; # Edit <domain> to match here

    location /.well-known/acme-challenge {
        root /home/ssl-renew/challenges;
    }

    location / {
        # configure the domain here
    }
}

그런 다음 sudo -i -u ssl-renew vim renew.sh를 실행하십시오. 추가하려는 도메인으로 --domains 줄을 스크립트에 추가하십시오.

그런 다음 스크립트를 실행하십시오: sudo -i -u ssl-renew ./renew.sh