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.com → ALLOWED_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.
Add a command line switch to mathicsserver to add domains or even
'*'to the list ofALLOWED_HOSTSin Django's settings. e.g.mathicsserver --domain foo.com→ALLOWED_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.