2 {% set nginx_log = '/var/log/nginx' %}
15 arvados_workbench2_default:
20 - server_name: workbench2.example.net
23 - location /.well-known:
26 - return: '301 https://$host$request_uri'
33 - server_name: workbench2.example.net
36 - index: index.html index.htm
38 - root: /var/www/arvados-workbench2/workbench2
39 - try_files: '$uri $uri/ /index.html'
40 - 'if (-f $document_root/maintenance.html)':
42 # - include: 'snippets/letsencrypt.conf'
43 - include: 'snippets/snakeoil.conf'
44 - access_log: {{ nginx_log }}/workbench2.example.net.access.log combined
45 - error_log: {{ nginx_log }}/workbench2.example.net.error.log