mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-13 14:43:03 +00:00
Fix HTTPS openedx config value
This commit is contained in:
parent
7462f208de
commit
604093217f
@ -30,6 +30,7 @@
|
|||||||
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
||||||
"EMAIL_HOST": "{{ SMTP_HOST }}",
|
"EMAIL_HOST": "{{ SMTP_HOST }}",
|
||||||
"EMAIL_PORT": {{ SMTP_PORT }},
|
"EMAIL_PORT": {{ SMTP_PORT }},
|
||||||
|
"HTTPS": "{{ "on" if ACTIVATE_HTTPS else "off" }}",
|
||||||
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
"LANGUAGE_CODE": "{{ LANGUAGE_CODE }}",
|
||||||
"CACHES": {
|
"CACHES": {
|
||||||
"default": {
|
"default": {
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
||||||
"EMAIL_HOST": "{{ SMTP_HOST }}",
|
"EMAIL_HOST": "{{ SMTP_HOST }}",
|
||||||
"EMAIL_PORT": {{ SMTP_PORT }},
|
"EMAIL_PORT": {{ SMTP_PORT }},
|
||||||
|
"HTTPS": "{{ "on" if ACTIVATE_HTTPS else "off" }}",
|
||||||
{% if ACTIVATE_NOTES %}
|
{% if ACTIVATE_NOTES %}
|
||||||
"EDXNOTES_PUBLIC_API": "{{ "https" if ACTIVATE_HTTPS else "http" }}://notes.{{ LMS_HOST }}/api/v1",
|
"EDXNOTES_PUBLIC_API": "{{ "https" if ACTIVATE_HTTPS else "http" }}://notes.{{ LMS_HOST }}/api/v1",
|
||||||
"EDXNOTES_INTERNAL_API": "http://notes.openedx:8000/api/v1",
|
"EDXNOTES_INTERNAL_API": "http://notes.openedx:8000/api/v1",
|
||||||
|
Loading…
Reference in New Issue
Block a user