Skip to content
Snippets Groups Projects
Commit c72f6e961c24 authored by Cédric Krier's avatar Cédric Krier :atom:
Browse files

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.
parent 1590d0f4154d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment