Make all requests redirect to secure HTTPS access

When this selection is used what actual config changes are made? I did not select it on install but would like too now.

Hi @matthewh,

I believe you can get the redirect question again by running certbot certonly --reinstall with a combination of -d flags reflecting all of the names in the certificate in question.

The redirect option adds a RewriteRule to your virtual host configuration. It will typically end up at the end of the <VirtualHost> stanza and look like

RewriteEngine on
RewriteCond %{SERVER_NAME}
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]

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