mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-12-07 04:52:29 -05:00
initial docker deployment implementation
This commit is contained in:
committed by
Swift Ugandan
parent
087206346a
commit
a15ed70d44
@@ -5,7 +5,7 @@ from .methods import is_mediacms_editor, is_mediacms_manager
|
||||
def stuff(request):
|
||||
"""Pass settings to the frontend"""
|
||||
ret = {}
|
||||
if request.is_secure():
|
||||
if request.is_secure() and settings.LOCAL_INSTALL:
|
||||
# in case session is https, pass this setting so
|
||||
# that the frontend uses https too
|
||||
ret["FRONTEND_HOST"] = settings.SSL_FRONTEND_HOST
|
||||
|
||||
Reference in New Issue
Block a user