./certbot-auto --apache -d domain.com (is there any what to add a flat to force to redirect to https just to skip the last step)

I want to comibe this command ./certbot-auto --apache -d domain.com with something like --force-https jus to skip the last command prompt that ask me if i want o allow http or force all request to https is there any way to do all that option under one line?

Hi @richard457,

I think you are looking for --redirect parameter:

--redirect            Automatically redirect all HTTP traffic to HTTPS for
                        the newly authenticated vhost. (default: Ask)

Cheers,
sahsanu

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