On 8/22/20 7:35 AM, Christopher Schultz wrote:
(1) every http request is unconditionally redirected to https:RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]This is not unconditional. That's what "RewriteCond" does: it sets up a condition :) If Let's Encrypt requests http://www.yoursite.com/ then it won't be redirected.
. . .
What domains are you asking LE to certify?
Except that the "www." prefix subdomain is undefined. There's no entry for it in Amazon Route 53; it was deliberately *not* given in the initial provisioning of the cert from LE, and it's *not* in the certbot configuration file for the subdomain.
-- JHHL --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
