mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 07:12:54 -04:00
Added check for mod_rewrite before redirection in client
This commit is contained in:
parent
321479ff59
commit
71bc54a411
1 changed files with 1 additions and 0 deletions
|
|
@ -391,6 +391,7 @@ def authenticate():
|
|||
|
||||
if curses:
|
||||
dialog.Dialog().msgbox("\nCongratulations! You have successfully enabled " + gen_https_names(dn) + "!", width=70)
|
||||
config.enable_mod("rewrite")
|
||||
if by_default():
|
||||
for ssl_vh in vhost:
|
||||
success, redirect_file = config.redirect_all_ssl(ssl_vh)
|
||||
|
|
|
|||
Loading…
Reference in a new issue