mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Implement redirect by default (#7595)
* Change redirect default to yes so that it happens automatically in noninteractive mode * Update changelog
This commit is contained in:
parent
5c8083851a
commit
6d1472bf8c
2 changed files with 4 additions and 1 deletions
|
|
@ -28,6 +28,9 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
|
|||
`certbot.reverter.Reverter.view_config_changes`, and
|
||||
`certbot.util.get_systemd_os_info` have been removed
|
||||
* Certbot's `register --update-registration` subcommand has been removed
|
||||
* When possible, default to automatically configuring the webserver so all requests
|
||||
redirect to secure HTTPS access. This is mostly relevant when running Certbot
|
||||
in non-interactive mode. Previously, the default was to not redirect all requests.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ def redirect_by_default():
|
|||
|
||||
code, selection = util(interfaces.IDisplay).menu(
|
||||
"Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.",
|
||||
choices, default=0,
|
||||
choices, default=1,
|
||||
cli_flag="--redirect / --no-redirect", force_interactive=True)
|
||||
|
||||
if code != display_util.OK:
|
||||
|
|
|
|||
Loading…
Reference in a new issue