config.inc.php.dist 714 B

123456789101112131415
  1. <?php
  2. // MailHub's private HTTP origin as seen from the Roundcube PHP runtime.
  3. // The plugin appends only the fixed /internal/webmail-sso/* paths.
  4. $config['mailhub_sso_internal_base_url'] = 'http://app:3000';
  5. // Exact external HTTPS origin of this Roundcube deployment. It must match the
  6. // origin configured by MailHub's WEBMAIL_SSO_URL (no path or trailing slash).
  7. $config['mailhub_sso_audience'] = 'https://mail.us.ss5.xyz';
  8. // Read the shared secret from a file mounted read-only into both runtimes.
  9. $config['mailhub_sso_secret_file'] = '/run/secrets/webmail_sso_secret';
  10. // Users and credentials returned by MailHub are always sent to this host.
  11. $config['mailhub_sso_imap_host'] = 'ssl://in.ss5.xyz:993';