How can i redirect all traffic to https only if ssl is enabled using templates. If i use <tmpl_if name='ssl_enabled'> The redirection only appears on ssl VirtualHost
There is currently no variable that signals in the http vhost that there is https available. Feeld free to make a feature request, so we can include that in the next release.