X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/102df19458ef2c97d1ef4ba0e571e3204d7073e6..7abc7ca38954acd4eaa53c9280504e06a76b8d71:/doc/install/install-composer.html.textile.liquid?ds=sidebyside diff --git a/doc/install/install-composer.html.textile.liquid b/doc/install/install-composer.html.textile.liquid index 9f37f0e628..58ba5d03a0 100644 --- a/doc/install/install-composer.html.textile.liquid +++ b/doc/install/install-composer.html.textile.liquid @@ -36,16 +36,20 @@ h2(#update-nginx). Update nginx configuration Composer may be served from the same host as Workbench. Composer communicates directly with the Arvados API server. It does not require its own backend and should be served as a static file. -Use a text editor to create a new file @/etc/nginx/conf.d/arvados-composer.conf@ with the following configuration. Options that need attention are marked with "TODO". +Add the following @location@ sections to @/etc/nginx/conf.d/arvados-workbench.conf@ . -
location /composer {
-  root   /var/www/arvados-composer
-  index  index.html
-}
+
server {
+  [...]
+
+  location /composer {
+    root   /var/www/arvados-composer;
+    index  index.html;
+  }
 
-location /composer.yml {
-  return 200 '{ "API_HOST": "ClusterID.example.com" }';
+  location /composer/composer.yml {
+    return 200 '{ "API_HOST": "ClusterID.example.com" }';
+  }
 }