Welcome to the community @entropy67
It looks like you reject requests that cannot handle javascript. See sample ACME Challenge response below. You'll see that test response looks like the text in the error message from Certbot. The Let's Encrypt Server must be sent the challenge token and not require it to handle Javascript or any other scripting language.
Ideally you would handle the challenge in your port 80 server block. We can help you set that up if you show that server block. Please place 3 backticks before and after to maintain formatting like:
```
nginx server block for port 80 for domain www.apkdcx.com
```
Here is result of a sample ACME HTTP challenge. You really should reply with a 404 in this case but the data is what is more important right now.
Also, this is HTTPS request because you redirect HTTP to HTTPS. Best if the challenge is not redirected but I needed to do this so you can see the real reason for the challenge failing.
curl -ik https://www.apkdcx.com/.well-known/acme-challenge/Test404
HTTP/1.1 200 OK
Server: nginx/1.25.3
(other headers omitted)
<!doctype html><html lang="en"><head>
<meta charset="utf-8"/>
<link rel="icon" href="./favicon.ico"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/>
<meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo.JPG"/><link rel="manifest" href="./manifest.json"/><title>湛汽长途车票管理平台</title>
<script defer="defer" src="./static/js/main.2fd72cf1.js"></script><link href="./static/css/main.2c3fdfbb.css" rel="stylesheet"></head><body>
<noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>