modified: serv_nginx/.env

modified:   serv_nginx/certbot/scripts/init-certbot.sh
	new file:   serv_nginx/certbot/scripts/renewBegushiyBAshkirLatin.sh
	modified:   serv_nginx/nginx/nginx-ssl.conf
	modified:   serv_nginx/nginx/switch-config.sh
begushiybashkir.ru add to nginx and certbot for getting certs and
working with begushiybashkir.ru site too
This commit is contained in:
valitovgaziz
2025-08-27 23:51:23 +05:00
parent f8ff70f5e3
commit 50ab8a3efa
5 changed files with 40 additions and 1 deletions
+19
View File
@@ -100,3 +100,22 @@ server {
try_files $uri $uri/ /index.html;
}
}
server {
listen 443 ssl;
server_name begushiybashkir.ru www.begushiybashkir.ru;
ssl_certificate /etc/letsencrypt/live/begushiybashkir.ru/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/begushiybashkir.ru/privkey.pem;
# Те же SSL настройки
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
location / {
root /usr/share/nginx/begushiybashkir/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}