Jump to content

Topic on Extension talk:Math/RESTBase

More clarification is needed for setting up an arbitrary domain with SSL/TLS on the same host.

1
Gee-one (talkcontribs)

I followed the "arbitrary domain" documentation, but I couldn't get it to work with SSL/TLS on the same host. I also used the walk through on github. The best functionality I could get is running only on the local network without https. This seems insecure, so I am too afraid to allow access from outside the firewall.

Mathoid seems to be working and I can connect to the restbase API, but I can't seem to get the wiki to talk to the API. I think the issue is possibly either:

  • an apache issue and I need to proxy the requests for nodejs to the respective services
  • a configuration issue where I need to be more specific about {domain}, localhost, and the actual domain, so that I am using the correct paths.
  • a technical issue where it might be impossible or ridiculous to try to run the mediawiki and the node.js services using the same domain/named virtual host.
  • none/some/all of the above

Any hints to point me in the right direction would be appreciated. My target is to have a small private wiki running on a self hosted server with the math rendering performed and served locally, all with SSL/TLS/HTTPS via letsencrypt.

If it makes any difference, I am running Debian stretch, MW 1.29, and mathoid/restbase from github. I would happily downgrade any of these if it results in an easier, working installation.

Reply to "More clarification is needed for setting up an arbitrary domain with SSL/TLS on the same host."