2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
19 upstream workbench_upstream:
20 - server: '__IP_INT__:9000 fail_timeout=10s'
25 arvados_workbench_ssl.conf:
32 - server_name: __HOSTNAME_EXT__
34 - __WORKBENCH1_EXT_SSL_PORT__ http2 ssl
35 - index: index.html index.htm
37 - proxy_pass: 'http://workbench_upstream'
38 - proxy_read_timeout: 300
39 - proxy_connect_timeout: 90
40 - proxy_redirect: 'off'
41 - proxy_set_header: X-Forwarded-Proto https
42 - proxy_set_header: 'Host $http_host'
43 - proxy_set_header: 'X-Real-IP $remote_addr'
44 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
45 - include: snippets/ssl_hardening_default.conf
46 - ssl_certificate: __CERT_PEM__
47 - ssl_certificate_key: __CERT_KEY__
48 - access_log: /var/log/nginx/workbench.__CLUSTER__.__DOMAIN__.access.log combined
49 - error_log: /var/log/nginx/workbench.__CLUSTER__.__DOMAIN__.error.log
51 arvados_workbench_upstream:
56 - listen: '__IP_INT__:9000'
57 - server_name: workbench
58 - root: /var/www/arvados-workbench/current/public
59 - index: index.html index.htm
60 - passenger_enabled: 'on'
61 # yamllint disable-line rule:line-length
62 - access_log: /var/log/nginx/workbench.__CLUSTER__.__DOMAIN__-upstream.access.log combined
63 - error_log: /var/log/nginx/workbench.__CLUSTER__.__DOMAIN__-upstream.error.log