From 9a440e26044b61076a96e9e435c42441b8ff8ebe Mon Sep 17 00:00:00 2001
From: Dario Ernst
cd {{ root }}
-wget {{ url_for('.file', uid=uid, filepath='docker-compose.yml', _external=True) }}
-wget {{ url_for('.file', uid=uid, filepath='mailu.env', _external=True) }}
+wget {{ url_for('.file', uid=uid, _scheme='https', filepath='docker-compose.yml', _external=True) }}
+wget {{ url_for('.file', uid=uid, _scheme='https', filepath='mailu.env', _external=True) }}
{% endcall %}
diff --git a/setup/flavors/stack/setup.html b/setup/flavors/stack/setup.html
index 9c775b20..b7486ead 100644
--- a/setup/flavors/stack/setup.html
+++ b/setup/flavors/stack/setup.html
@@ -11,8 +11,8 @@ in a project directory. First create your project directory.
to read and check the configuration variables generated by the wizard.
cd {{ root }}
-wget {{ url_for('.file', uid=uid, filepath='docker-compose.yml', _external=True) }}
-wget {{ url_for('.file', uid=uid, filepath='mailu.env', _external=True) }}
+wget {{ url_for('.file', uid=uid, _scheme='https', filepath='docker-compose.yml', _external=True) }}
+wget {{ url_for('.file', uid=uid, _scheme='https', filepath='mailu.env', _external=True) }}
{% endcall %}