diff --git a/docker-settings.py b/docker-settings.py index 3110004..fd41f54 100644 --- a/docker-settings.py +++ b/docker-settings.py @@ -20,7 +20,7 @@ MEDIA_URL = 'http://' + TAIGA_HOSTNAME + '/media/' STATIC_URL = 'http://' + TAIGA_HOSTNAME + '/static/' -if os.getenv('TAIGA_SSL').lower() == 'true': +if os.getenv('TAIGA_SSL').lower() == 'true' or os.getenv('TAIGA_SSL_BY_REVERSE_PROXY').lower() == 'true': SITES['api']['scheme'] = 'https' SITES['front']['scheme'] = 'https'