I am new to this, but I have been hosting Searxng via docker for a while now and have been accessing it over the internet directly using an open port. Now I have a domain (assume search.abc.xyz) and I have tried multiple things using nginx and traefik to get it working along with cloudflare. So far nothing has helped and I am tired on banging my head. Can anybody steer me in the right path or share the right tutorial for this. Any help would be appreciated.

Solution: Hertzner was blocking port 80 and port 443 by default. So certbot was actually failing.