1
iRedMail을 사용하여 메일 서버를 설정하고 모든 것이 설치되어 실행 중입니다. 이제 certbot-auto 클라이언트를 사용하여 Lets Encrypt에 대한 자체 서명 된 인증서를 변경하려고합니다. 나는의 nginx를 다시 시작하고 URL을 탐색 할 때, 나는 404을 얻는다면, certbot 오토 그러나이iRedMail SSL을 사용하여 암호화 certbot-auto
location ~ /.well-known {
allow all;
}
# Deny all attempts to access hidden files such as .htaccess.
#location ~ /\. { deny all; }
# Handling noisy messages
location = ^/favicon.ico { access_log off; log_not_found off; }
location = ^/robots.txt { log_not_found off; access_log off; allow all; }
처럼 /etc/nginx/templates/misc.tmpl에
location ~ /.well-known {
allow all;
}
을 추가 한 또한 404를보고합니다.
숨김 파일에 대한 액세스를 제한하는 규칙 위에 배치 했으므로 작동합니다.
모든 아이디어는 크게 감사하겠습니다. 미리 감사드립니다.
올바른 입력입니다. –