Skip to content

Get domains for some Onion Service projects

Goals

  • Get shorter URLs for some Onion Service related projects, pointing to their GitLab Pages.

Why

  • The current URLs are hard to remember and take a lot to type.

Approaches

Per-project domains

This approach consists in having one domain per project:

Pros:

  • Tend to produce shorter URLs.

Cons:

  • Involves more work to setup.

Single Onion Service documentation site

This approach consists in having a single onionservices.torproject.org domain, and allocating a subpath for each project:

Pros:

Cons:

  • May conflict/duplicate efforts with the upcoming Tor Developer Portal.
  • Requires an additional home page.

Deployment options

  1. Have a static hosting endpoint with changes pushed by GitLab CI jobs, possibly the static shim deploying to the static component.
  2. A reverse proxy setup.
  3. Or it may happen that only a redirect/alias is supported (like was done at tpo/tpa/team#40294 (closed)).

Bonus

  • Onion Services endpoint and Onion-Location for each site. The Onion Service itself could be one for the entire GitLab pages (and that would also help with onion-launchpad#32, related to tpo/tpa/team#40379).
Edited by Silvio Rhatto