X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ea78f40b05f12b1e874403c69aeef955208ac503..053f74285455278bed87cd4b3dc0df2adffb3b9c:/doc/install/install-keep-web.html.textile.liquid diff --git a/doc/install/install-keep-web.html.textile.liquid b/doc/install/install-keep-web.html.textile.liquid index 033efe63f1..1ba9fc522f 100644 --- a/doc/install/install-keep-web.html.textile.liquid +++ b/doc/install/install-keep-web.html.textile.liquid @@ -11,7 +11,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0 # "Introduction":#introduction # "Configure DNS":#introduction -# "Configure anonymous user token.yml":#update-config +# "Configure anonymous user token":#update-config # "Update nginx configuration":#update-nginx # "Install keep-web package":#install-packages # "Start the service":#start-service @@ -20,7 +20,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0 h2(#introduction). Introduction -The Keep-web server provides read/write access to files stored in Keep using WebDAV and S3 protocols. This makes it easy to access files in Keep from a browser, or mount Keep as a network folder using WebDAV support in various operating systems. It serves public data to unauthenticated clients, and serves private data to clients that supply Arvados API tokens. It can be installed anywhere with access to Keep services, typically behind a web proxy that provides TLS support. See the "godoc page":http://godoc.org/github.com/curoverse/arvados/services/keep-web for more detail. +The Keep-web server provides read/write access to files stored in Keep using WebDAV and S3 protocols. This makes it easy to access files in Keep from a browser, or mount Keep as a network folder using WebDAV support in various operating systems. It serves public data to unauthenticated clients, and serves private data to clients that supply Arvados API tokens. It can be installed anywhere with access to Keep services, typically behind a web proxy that provides TLS support. See the "godoc page":https://pkg.go.dev/git.arvados.org/arvados.git/services/keep-web for more detail. h2(#dns). Configure DNS @@ -90,7 +90,7 @@ Note the trailing slash. {% include 'notebox_begin' %} Whether you choose to serve collections from their own subdomain or from a single domain, it's important to keep in mind that they should be served from me same _site_ as Workbench for the inline previews to work. -Please check "keep-web's URL pattern guide":/api/keep-web-urls.html#same-site to learn more. +Please check "keep-web's URL pattern guide":../api/keep-web-urls.html#same-site to learn more. {% include 'notebox_end' %} h2. Set InternalURLs @@ -105,16 +105,13 @@ h2. Set InternalURLs h2(#update-config). Configure anonymous user token -{% assign railscmd = "bundle exec ./script/get_anonymous_user_token.rb --get" %} -{% assign railsout = "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" %} If you intend to use Keep-web to serve public data to anonymous clients, configure it with an anonymous token. -# First, generate a long random string and put it in the @config.yml@ file, in the @AnonymousUserToken@ field. -# Then, use the following command on the API server to register the anonymous user token in the database. {% include 'install_rails_command' %} +Generate a random string (>= 32 characters long) and put it in the @config.yml@ file, in the @AnonymousUserToken@ field.
    Users:
-      AnonymousUserToken: "{{railsout}}"
+      AnonymousUserToken: "zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"