Webpage timeout after certbot --redirect

Hello,
I’m putting togerther my first nextcloud server and I’m using nginx. After using this certbot command:

/usr/local/bin/certbot --nginx --redirect --hsts --staple-ocsp -d mydomain.com

The domain had become inaccessible from a browser, giving a timeout error.

I reset the whole system and tried it on the nginx test page and got the same result.

Any help and all help is appreciated.
Thanks

Edit: www.mydomain.com works and displays the nginx test page, although it does not use https.

1 Like

We’re going to need to see your nginx config, but it’s also possible that the issue is in your nextcloud settings too.

1 Like

Hi @benthehen

your domain name is required.

1 Like

Thanks for responding, I’ll have it in a couple hours

Required in what sense?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.