uncomment and replace mail name and delete hiphen on init scripts
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
# Убедитесь, что домены указаны правильно
|
||||
domains="yalarba.ru www.yalarba.ru"
|
||||
email="your-email@example.com" # Замените на реальный email
|
||||
email="valitovgaziz@yandex.ru" # Замените на реальный email
|
||||
|
||||
# Создаём временный контейнер Nginx для верификации
|
||||
docker-compose up -d nginx
|
||||
docker compose up -d nginx
|
||||
|
||||
# Запускаем Certbot для получения сертификатов
|
||||
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot --email $email --agree-tos --no-eff-email -d $domains --force-renewal
|
||||
docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot --email $email --agree-tos --no-eff-email -d $domains --force-renewal
|
||||
|
||||
# Перезапускаем Nginx с новыми сертификатами
|
||||
docker-compose restart nginx
|
||||
docker compose restart nginx
|
||||
Reference in New Issue
Block a user