Connection refused. after uninstalling certbot || dietpi


i’m running nextcloud on a raspberry pi running dietpi. It’s running fine until I uninstalled certbot. the reason why I uninstalled it is because I have a new reverse proxy installed on a docker container and I want to it to manage all the SSL certs including the cert for nextcloud. i get connection refused when on the browser when I try to access it locally. Is there something I can do to fix this?