X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/767e1199d0e1bdf2b564b5c58a91d29141eb67d7..0662b235357dd40b5d27efd06b60044ddcec06f6:/apps/workbench/config/application.default.yml diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml index 5504fd29a7..c4a92d2739 100644 --- a/apps/workbench/config/application.default.yml +++ b/apps/workbench/config/application.default.yml @@ -226,10 +226,31 @@ common: # https://%{hostname}.webshell.uuid_prefix.arvadosapi.com/ shell_in_a_box_url: false - # Format of download/preview links. If false, use Workbench's - # download facility. + # Format of preview links. If false, use keep_web_download_url + # instead, and disable inline preview. If both are false, use + # Workbench's built-in file download/preview mechanism. # # Examples: - # keep_web_url: https://%{uuid_or_pdh}.dl.zzzzz.your.domain - # keep_web_url: https://%{uuid_or_pdh}--dl.zzzzz.your.domain + # keep_web_url: https://%{uuid_or_pdh}.collections.uuid_prefix.arvadosapi.com + # keep_web_url: https://%{uuid_or_pdh}--collections.uuid_prefix.arvadosapi.com + # + # Example supporting only public data and collection-sharing links + # (other data will be handled as downloads via keep_web_download_url): + # keep_web_url: https://collections.uuid_prefix.arvadosapi.com/c=%{uuid_or_pdh} keep_web_url: false + + # Format of download links. If false, use keep_web_url with + # disposition=attachment query param. + # + # The host part of the keep_web_download_url value here must match + # the -attachment-only-host argument given to keep-web: if + # keep_web_download_url is "https://FOO.EXAMPLE/c=..." then keep-web + # must run with "-attachment-only-host=FOO.EXAMPLE". + # + # If keep_web_download_url is false, and keep_web_url uses a + # single-origin form, then Workbench will show an error page + # when asked to download or preview private data. + # + # Example: + # keep_web_download_url: https://download.uuid_prefix.arvadosapi.com/c=%{uuid_or_pdh} + keep_web_download_url: false