diff --git a/roles/pagure/frontend/templates/pagure.cfg b/roles/pagure/frontend/templates/pagure.cfg index e89c678558..77cfdfce11 100644 --- a/roles/pagure/frontend/templates/pagure.cfg +++ b/roles/pagure/frontend/templates/pagure.cfg @@ -13,6 +13,9 @@ SALT_EMAIL='{{ pagure_secret_salt_email }}' EMAIL_SEND = True +# This is required so that login specifies https +PREFERRED_URL_SCHEME='https' + ### url to the database server: #DB_URL=mysql://user:pass@host/db_name #DB_URL=postgres://user:pass@host/db_name