docs(examples): improve consistency in naming
[arvados-formula.git] / test / salt / pillar / examples / nginx_workbench2_configuration.sls
1 ---
2 ### ARVADOS
3 arvados:
4   config:
5     group: www-data
6
7 ### NGINX
8 nginx:
9   ### SITES
10   servers:
11     managed:
12       ### DEFAULT
13       arvados_workbench2_default:
14         enabled: true
15         overwrite: true
16         config:
17           - server:
18             - server_name: workbench2.fixme.example.net
19             - listen:
20               - 80
21             - location /.well-known:
22               - root: /var/www
23             - location /:
24               - return: '301 https://$host$request_uri'
25
26       arvados_workbench2_ssl:
27         enabled: true
28         overwrite: true
29         config:
30           - server:
31             - server_name: workbench2.fixme.example.net
32             - listen:
33               - 443 http2 ssl
34             - index: index.html index.htm
35             - location /:
36               - root: /var/www/arvados-workbench2/workbench2
37               - try_files: '$uri $uri/ /index.html'
38               - 'if (-f $document_root/maintenance.html)':
39                 - return: 503
40             - location /config.json:
41               - return: {{ "200 '" ~ '{"API_HOST":"fixme.example.net"}' ~ "'" }}
42             # - include: 'snippets/letsencrypt.conf'
43             - include: 'snippets/snakeoil.conf'
44             - access_log: /var/log/nginx/workbench2.fixme.example.net.access.log combined
45             - error_log: /var/log/nginx/workbench2.fixme.example.net.error.log