我明明域名是 Minio 域是 example.com。为什么会变成 img.example.com?
上传是这样的规定
[ol]FoF Upload
Content Delivery URL (prefixes files)
https://example.xyz
key
secret
bucket img
Endpoint https://example.xyz[/ol]复制代码
错误代码是
[ol]flarum.ERROR: exception 'Aws\S3\Exception\S3Exception' with message 'Error executing "PutObject" on "https://img.example.xyz/2024-02-11/1707648155-636240-2.png"; AWS HTTP error: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png'
GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png in /usr/share/nginx/html/flarum/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:210
Stack trace:
Next Aws\S3\Exception\S3Exception: Error executing "PutObject" on "https://img.example.xyz/2024-02-11/1707648155-636240-2.png"; AWS HTTP error: cURL error 6: Could not resolve host: img.example.xyz (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://img.example.xyz/2024-02-11/1707648155-636240-2.png in /usr/share/nginx/html/flarum/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:196
Stack trace:[/ol]复制代码