rename cfg

This commit is contained in:
Михаил Капелько
2025-12-06 06:51:13 +03:00
parent d9d691db1d
commit bc380a60a4
4 changed files with 13 additions and 2 deletions

10
nginx/acme.cfg Normal file
View File

@@ -0,0 +1,10 @@
# Serve only through HTTP while updating the certificate
server {
listen 80;
server_name kornerr.ru;
root /var/www/html;
location / {
try_files $uri $uri/ =404;
}
}

View File

@@ -5,6 +5,7 @@ server {
return 301 https://$server_name$request_uri;
}
# Serve through HTTPS only
server {
listen 443 ssl;
server_name kornerr.ru;