changeset c72f6e961c24 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=c72f6e961c24
description:
        Force SSL on CDN

        As the pages are cached, the same page may be used for a secure and 
non-secure
        request. So the cached page must work for both.
diffstat:

 app.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 1590d0f4154d -r c72f6e961c24 app.py
--- a/app.py    Sat Jul 13 14:23:13 2019 +0200
+++ b/app.py    Sun Jul 14 10:44:07 2019 +0200
@@ -65,6 +65,7 @@
     'donate-alt', 'donate_thanks', 'donate_cancel', 'service_providers-alt',
     'sitemap.xml']
 app.config['CDN_DOMAIN'] = os.environ.get('CDN_DOMAIN')
+app.config['CDN_HTTPS'] = True
 cache.init_app(app)
 CDN(app)
 Gravatar(app, size=198, default='mp', use_ssl=True)

Reply via email to