Services:
@@ -37,7 +37,7 @@ h2(#update-nginx). Update Nginx configuration
Workbench2 does not require its own database. It is a set of html, javascript and css files that are served as static files from Nginx.
-Use a text editor to create a new file @/etc/nginx/conf.d/arvados-workbench2.conf@ with the following configuration. Options that need attention are marked with "TODO".
+Use a text editor to create a new file @/etc/nginx/conf.d/arvados-workbench2.conf@ with the following configuration. Options that need attention are marked in red.
server {
@@ -47,17 +47,16 @@ Use a text editor to create a new file @/etc/nginx/conf.d/arvados-workbench2.con
}
server {
- listen *:443 ssl;
+ listen 443 ssl;
server_name workbench2.ClusterID.example.com;
- ssl on;
- ssl_certificate /TODO/YOUR/PATH/TO/cert.pem;
- ssl_certificate_key /TODO/YOUR/PATH/TO/cert.key;
+ ssl_certificate /YOUR/PATH/TO/cert.pem;
+ ssl_certificate_key /YOUR/PATH/TO/cert.key;
index index.html;
- # TODO: Workbench2 uses a call to /config.json to bootstrap itself
- # and find out where to contact the API server.
+ # 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" }';
}