我的droplet上是空的没有本地html文件啊。本来所有的都是在s3的bucket里。你是什么意思呢?
我觉得这个是letencrypt的证书问题,是申请没有字域名的问题吧?
root@ubuntu-sfo3:/etc/nginx# openssl x509 -text -in /etc/letsencrypt/live/staroceans.com/fullchain.pem
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
05:b6:dd:13:1a:0f:84:23:08:51:8b:b1:b3:0c:fd:5d:86:18
Signature Algorithm: ecdsa-with-SHA384
Issuer: C = US, O = Let's Encrypt, CN = YE1
Validity
Not Before: Jun 1 21:21:46 2026 GMT
Not After : Aug 30 21:21:45 2026 GMT
Subject: CN = staroceans.com
Subject Public Key Info:
Public Key Algorithm: id-ecPublicKey
Public-Key: (256 bit)
pub:
04:64:c0:f7:23:2e:05:9f:ec:6c:f1:ae:6e:c1:7b:
aa:e9:19:d8:90:df:2b:04:69:d3:2e:f5:3e:92:6e:
aa:d2:cb:a5:a2:5d:78:c9:7e:91:6b:fb:2c:1f:31:
bc:92:97:e5:f3:b9:02:96:27:ae:7a:04:22:fc:1e:
f3:11:69:aa:6f
ASN1 OID: prime256v1
NIST CURVE: P-256
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature
X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Key Identifier:
4D:01:6A:DE:D1:9B:24:2A:D8:B9:24:8C:D6:C6:84:30:C9:BD:B9:A7
X509v3 Authority Key Identifier:
BB:20:CA:47:0B:FE:D7:E5:9C:F9:8F:09:2A:A3:8C:37:45:B1:BC:D8
Authority Information Access:
CA Issuers - URI:http://ye1.i.lencr.org/
X509v3 Subject Alternative Name:
DNS:staroceans.com
X509v3 Certificate Policies:
Policy: 2.23.140.1.2.1
X509v3 CRL Distribution Points:
Full Name:
URI:http://ye1.c.lencr.org/25.crl
CT Precertificate SCTs:
location ~* \.(html|htm)$ {
root /你的本地网站根目录; # 这里是示例文字,非法路径
try_files $uri =404;
}