Замечание про отключение ufw
All checks were successful
Build MkDocs / build-and-deploy (push) Successful in 2s
All checks were successful
Build MkDocs / build-and-deploy (push) Successful in 2s
This commit is contained in:
@@ -64,6 +64,17 @@ SSL-сертификат получается и устанавливается
|
|||||||
# Автообновление сертификатов
|
# Автообновление сертификатов
|
||||||
echo "0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew -q" | sudo tee -a /etc/crontab > /dev/null
|
echo "0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew -q" | sudo tee -a /etc/crontab > /dev/null
|
||||||
```
|
```
|
||||||
|
??? tip "Отключение UFW"
|
||||||
|
|
||||||
|
Может потребоваться временно отключить UFW.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
sudo ufw disable
|
||||||
|
|
||||||
|
# Получаем сертификат
|
||||||
|
|
||||||
|
sudo ufw enable
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Несколько полезных команд.
|
Несколько полезных команд.
|
||||||
|
|||||||
Reference in New Issue
Block a user