Make URL is_secure when SSL is delegated
A common issue is that when the SSL is delegated to a proxy server, the URL built without a requests are considered as non secure. This is because we rely on the presence of a certificate/privatekey in the configuration.
This can be seen in the email sent when the admin password is reset via command line.
I propose to allow to set only one of the two configuration keys so the internal web server will not try to setup SSL and make is_secure
return True
.
This proposal has minor impact and so it can be back-ported without too much pain.