This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
letsencrypt_certbot [2025/09/30 09:48] val |
letsencrypt_certbot [2025/09/30 11:26] (current) val [Настройка SSL для сайта] |
||
---|---|---|---|
Line 87: | Line 87: | ||
===== Настройка SSL для сайта ===== | ===== Настройка SSL для сайта ===== | ||
+ | |||
+ | * [[Сервис HTTP#Поддержка протокола HTTPS]] | ||
<code> | <code> | ||
Line 102: | Line 104: | ||
SSLCertificateFile /etc/letsencrypt/live/hostN.mgtu.ru/fullchain.pem | SSLCertificateFile /etc/letsencrypt/live/hostN.mgtu.ru/fullchain.pem | ||
SSLCertificateKeyFile /etc/letsencrypt/live/hostN.mgtu.ru/privkey.pem | SSLCertificateKeyFile /etc/letsencrypt/live/hostN.mgtu.ru/privkey.pem | ||
- | </VirtualHost> | + | </VirtualHost> |
+ | </IfModule> | ||
</code><code> | </code><code> | ||
root@val:~# apachectl -t | root@val:~# apachectl -t |