2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
6 {%- if grains.os_family in ('RedHat',) %}
7 {%- set group = 'nginx' %}
9 {%- set group = 'www-data' %}
23 arvados_workbench_default.conf:
28 - server_name: workbench.fixme.example.net
31 - location /.well-known:
34 - return: '301 https://$host$request_uri'
36 arvados_workbench_ssl.conf:
40 file: nginx_snippet_arvados-snakeoil.conf
43 - server_name: workbench.fixme.example.net
46 - root: /var/www/arvados-workbench/current/public
47 - passenger_enabled: 'on'
48 - index: index.html index.htm
49 - include: 'snippets/ssl_hardening_default.conf'
50 - include: 'snippets/arvados-snakeoil.conf'
51 # yamllint disable-line rule:line-length
52 - access_log: /var/log/nginx/workbench.fixme.example.net.access.log combined
53 - error_log: /var/log/nginx/workbench.fixme.example.net.error.log