Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make ALLOWED_HOSTS configurable #1585

Open
haraldschilly opened this issue Sep 14, 2021 · 2 comments
Open

make ALLOWED_HOSTS configurable #1585

haraldschilly opened this issue Sep 14, 2021 · 2 comments

Comments

@haraldschilly
Copy link

Add a command line switch to mathicsserver to add domains or even '*' to the list of ALLOWED_HOSTS in Django's settings. e.g. mathicsserver --domain foo.comALLOWED_HOSTS=['foo.com']

I know this is risky in general, but if there is additional authentication around the service, it isn't a problem.

Also, this is closely related to #771, i.e. to make it possible to host mathicsserver on a remote service, where authentication controls access and it can be accessed with a certain prefix in the URL.

@rocky
Copy link
Member

rocky commented Sep 14, 2021

Mathicsserver and more generally Django-based controls have been split off from this repository. See https://github.com/Mathics3/mathics-django.

In fact we are not really working in this repository much anymore. Core items (Built in functions and item not related to front-end processing or back-end rendering) are now handled in https://github.com/Mathics3/mathics-core.

@haraldschilly
Copy link
Author

oh, I see! so, this ticket and #771 should move over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants