X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/21006cfaf6d4d0ac3884a72803a8723bc4bb76fb..040a541c74913c01ee3517273a7be30c510cc620:/services/keep-web/doc.go diff --git a/services/keep-web/doc.go b/services/keep-web/doc.go index 5aa09e20a4..4207d7bfc7 100644 --- a/services/keep-web/doc.go +++ b/services/keep-web/doc.go @@ -12,11 +12,11 @@ // // Serve HTTP requests at port 1234 on all interfaces: // -// keep-web -address=:1234 +// keep-web -listen=:1234 // // Serve HTTP requests at port 1234 on the interface with IP address 1.2.3.4: // -// keep-web -address=1.2.3.4:1234 +// keep-web -listen=1.2.3.4:1234 // // Proxy configuration // @@ -48,10 +48,12 @@ // // Anonymous downloads // -// Use the -anonymous-token option to specify a token to use when clients -// try to retrieve files without providing their own Arvados API token. +// Use the -allow-anonymous flag with an ARVADOS_API_TOKEN environment +// variable to specify a token to use when clients try to retrieve +// files without providing their own Arvados API token. // -// keep-web [...] -anonymous-token=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz +// export ARVADOS_API_TOKEN=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz +// keep-web [...] -allow-anonymous // // See http://doc.arvados.org/install/install-keep-web.html for examples. // @@ -209,7 +211,7 @@ // only when the designated origin matches exactly the Host header // provided by the client or downstream proxy. // -// keep-web -address :9999 -attachment-only-host domain.example:9999 +// keep-web -listen :9999 -attachment-only-host domain.example:9999 // // Trust All Content mode // @@ -222,12 +224,12 @@ // // In such cases you can enable trust-all-content mode. // -// keep-web -address :9999 -trust-all-content +// keep-web -listen :9999 -trust-all-content // // When using trust-all-content mode, the only effect of the // -attachment-only-host option is to add a "Content-Disposition: // attachment" header. // -// keep-web -address :9999 -attachment-only-host domain.example:9999 -trust-all-content +// keep-web -listen :9999 -attachment-only-host domain.example:9999 -trust-all-content // package main