Hi,
I have setup openedx sumac using tutor and I have tried setting up a tenant using the inbuilt site as well as the eox-tenant plugin. Basically the steps I did are:
Created a deployment with the domain: client.zingapp.site
eox-tenant
- In the Django Admin, configured the routes to add tenant1.client.zingapp.site
- Added a config with {
“EDNX_USE_SIGNAL”: true,
“PLATFORM_NAME”: “tenant1”,
“course_org_filter”: [
“tenant1”
]
} - Restarted the server
Did similar for site also in the add sites section.
Logs are not showing anything
Then, when I visit the URL, getting SSL_ERROR_INTERNAL_ERROR_ALERT in the browser, Any caddy configuration need to be done?
Update:
After I created a plugin to allow windcard subdomains, im getting DisallowedHost Error from Django
Traceback
Traceback (most recent call last):lms-1 | File “/openedx/venv/lib/python3.11/site-packages/django/core/handlers/exception.py”, line 55, in innerlms-1 | response = get_response(request)lms-1 | ^^^^^^^^^^^^^^^^^^^^^lms-1 | File “/openedx/venv/lib/python3.11/site-packages/django/utils/deprecation.py”, line 133, in calllms-1 | response = self.process_request(request)lms-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^lms-1 | File “/openedx/venv/lib/python3.11/site-packages/django/middleware/common.py”, line 48, in process_requestlms-1 | host = request.get_host()lms-1 | ^^^^^^^^^^^^^^^^^^lms-1 | File “/openedx/venv/lib/python3.11/site-packages/django/http/request.py”, line 150, in get_hostlms-1 | raise DisallowedHost(msg)lms-1 | django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: