server {
listen 80;
server_name workbench2.ClusterID.example.com;
return 301 https://workbench2.ClusterID.example.com$request_uri;
}
server {
listen 443 ssl;
server_name workbench2.ClusterID.example.com;
ssl_certificate /YOUR/PATH/TO/cert.pem;
ssl_certificate_key /YOUR/PATH/TO/cert.key;
index index.html;
# Workbench2 uses a call to /config.json to bootstrap itself
# and find out where to contact the API server.
location /config.json {
return 200 '{ "API_HOST": "ClusterID.example.com" }';
}
location / {
root /var/www/arvados-workbench2/workbench2;
index index.html;
try_files $uri $uri/ /index.html;
if (-f $document_root/maintenance.html) {
return 503;
}
}
}
h2. Vocabulary configuration
Workbench2 will load, if available, a vocabulary definition which lists available metadata properties for groups and collections. To learn how to configure the property vocabulary definition, please visit the "Metadata Vocabulary Format":{{site.baseurl}}/admin/metadata-vocabulary.html page in the Admin section.
{% assign arvados_component = 'arvados-workbench2' %}
{% include 'install_packages' %}
{% include 'restart_api' %}
h2(#confirm-working). Confirm working installation
Visit @https://workbench2.ClusterID.example.com@ in a browser. You should be able to log in using the login method you configured in the previous step. If @Users.AutoAdminFirstUser@ is true, you will be an admin user.