Sure, I hope this clears it up:

The idea is that the SSL cert should only be used when the site is being accessed through a single domain (because the cheapest and most common certs are single-domain anyways). For that reason, the ssl_disabled environment variable depends on the length of env.domains (which is just settings.FABRIC["DOMAINS"]).

env.ssl_disabled is not a boolean, instead if just toggles between "#" and the empty string. The # is what comments-out the SSL settings in the nginx template.

In other words, if you want enable SSL make sure you have only one domain listed in settings.FABRIC["DOMAINS"]. You'll also have to make sure you've pointed your nginx conf to the location of your certificate and key.

I previously suggested that you simply overwrite the whole SSL configuration in the nginx template because it sounded like you already had a working implementation in the server, so you could have used that.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to