Try rebuilding your Discourse container. It seems to be quite old.
git pull
./launcher rebuild app
You can also check if the connection to the server works by running the following in the container:
openssl s_client -connect m2.res.zabanshenas.com:443
But please note that we do not test Discourse with MinIO and therefore it’s an unsupported alternative to S3.