Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions admin_manual/configuration_files/file_sharing_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,20 @@ You can use the ``occ`` command to update those, for example:
+ When full match is activated, do not match user email
+ Default: ``yes``

- ``core.shareapi_public_link_base_url``

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Defer documenting the draft share config

Because this PR targets the latest documentation branch, this entry would publish in the current admin manual, but the linked implementation (nextcloud/server#62146) is still Draft/Open and the key is not present in current server master. If the docs merge first, admins following this page will set shareapi_public_link_base_url on installations that ignore it and share links will still use the instance URL, so this should wait for or be gated on the server change landing.

Useful? React with πŸ‘Β / πŸ‘Ž.

+ Set a custom base URL used when generating public share links (link shares and email shares).
This applies to the web UI copy-link, the OCS Share API, share-notification emails, and reminders.
Useful when Nextcloud sits behind a public gateway or reverse proxy that exposes a different domain.
+ Default: empty (unset), links use the instance URL.
+ Must be an absolute ``http://`` or ``https://`` URL. Credentials, query strings, and fragments are not
allowed. Invalid values are rejected with a warning in the log and links fall back to the instance URL.
+ The share-link path is appended as the instance would generate it β€”
``/s/{token}``, or ``/index.php/s/{token}`` on instances without pretty URLs.
The configured base URL must accept and route that path to the instance.
+ Example:
``occ config:app:set core shareapi_public_link_base_url --value='https://public.example.com/'``


Distinguish between max expiration date and default expiration date
-------------------------------------------------------------------

Expand Down
Loading