mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
Added check for mod_rewrite before redirection in client
This commit is contained in:
@@ -391,6 +391,7 @@ def authenticate():
|
|||||||
|
|
||||||
if curses:
|
if curses:
|
||||||
dialog.Dialog().msgbox("\nCongratulations! You have successfully enabled " + gen_https_names(dn) + "!", width=70)
|
dialog.Dialog().msgbox("\nCongratulations! You have successfully enabled " + gen_https_names(dn) + "!", width=70)
|
||||||
|
config.enable_mod("rewrite")
|
||||||
if by_default():
|
if by_default():
|
||||||
for ssl_vh in vhost:
|
for ssl_vh in vhost:
|
||||||
success, redirect_file = config.redirect_all_ssl(ssl_vh)
|
success, redirect_file = config.redirect_all_ssl(ssl_vh)
|
||||||
|
|||||||
Reference in New Issue
Block a user