Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Hello, I set up a droplet and configured nginx to serve a small static website. Everything was working fine until I installed a certificate using the Certbot script.
This is the nginx configuration file for the website:
server {
root /var/www/angelacapillo.com;
index index.php index.html index.htm;
server_name angelacapillo.com www.angelacapillo.com;
location / {
try_files $uri $uri/ =404;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/angelacapillo.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/angelacapillo.com/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 = www.angelacapillo.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
if ($host = angelacapillo.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name angelacapillo.com www.angelacapillo.com;
listen 80;
return 404; # managed by Certbot
}
Following their instructions, I tested the certificate here but I get an error: https://www.ssllabs.com/ssltest/analyze.html?d=www.angelacapillo.com
What might be the issue?
Edward Sitarski
1fd6b9d2a2b94ee4b3e8ee6d5e2587
Traceurity
fadecomic
Mollie Semmes
Will Walters
f4df2e98b9c74f7eb7f6a0629cf1c4
erel
fingers
fingers