File: /var/lib/letsencrypt/backups/1716477626.2083943/digital-smart_26
server {
server_name digital-smart.foach.site;
root /var/www/digital-smart;
index index.html;
client_max_body_size 20M;
charset utf-8;
location / {
root /var/www/digital-smart;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /404.html;
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/digital-smart.foach.site/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/digital-smart.foach.site/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = digital-smart.foach.site) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name digital-smart.foach.site;
listen 80;
return 404; # managed by Certbot
}