TMA CloudTMA Cloud
GuidesAdmin Guides

Share Link Address

Serve share links from their own domain (first user only).

Serve share links from their own domain (first user only).

Share Base URL Settings

Configuration

  1. Navigate to Settings → Administration
  2. Open Share link address under Integrations
  3. Enter custom base URL (e.g., https://share.example.com)
  4. Click Save

Clear the field and save to go back to the address people sign in at.

Default Behavior

When not configured:

  • Share links use request origin
  • Format: http://your-domain.com/s/{token}

Custom Domain

When configured:

  • Share links use custom domain
  • Format: http://share.example.com/s/{token}
  • Share domain middleware blocks all routes except /s/*, /health, and /metrics

Domain Isolation

Route Blocking

Share domain middleware blocks:

  • Main application routes (/, /api/*)
  • Static files
  • All routes except share links and system endpoints

Allowed Routes

  • /s/* - Share link access
  • /health - Health check
  • /metrics - Metrics endpoint

Use Cases

Traffic Isolation

  • Separate share traffic from main app
  • Dedicated domain for public links
  • Main application and API routes are blocked on the share domain

Last updated on

On this page