Remove http from all apache/ubuntu virtual hosts

While installing using certbot-auto for multiple domains, I enabled http and https. Want to now disable http for all sites. How do I do this?

That option in certbot wasn’t offering to disable HTTP; it was offering to redirect all HTTP requests to HTTPS.

Here’s some explanation of why that’s better.

Here’s how to do it manually.

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