2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
13 upstream collections_downloads_upstream:
14 - server: '__IP_INT__:9003 fail_timeout=10s'
18 ### COLLECTIONS / DOWNLOAD
19 arvados_collections_download_ssl.conf:
26 - server_name: __HOSTNAME_EXT__
28 - __KEEPWEB_EXT_SSL_PORT__ http2 ssl
29 - index: index.html index.htm
31 - proxy_pass: 'http://collections_downloads_upstream'
32 - proxy_read_timeout: 90
33 - proxy_connect_timeout: 90
34 - proxy_redirect: 'off'
35 - proxy_set_header: X-Forwarded-Proto https
36 - proxy_set_header: 'Host $http_host'
37 - proxy_set_header: 'X-Real-IP $remote_addr'
38 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
39 - proxy_buffering: 'off'
40 - client_max_body_size: 0
41 - proxy_http_version: '1.1'
42 - proxy_request_buffering: 'off'
43 - include: snippets/ssl_hardening_default.conf
44 - ssl_certificate: __CERT_PEM__
45 - ssl_certificate_key: __CERT_KEY__
46 - access_log: /var/log/nginx/keepweb.__CLUSTER__.__DOMAIN__.access.log combined
47 - error_log: /var/log/nginx/keepweb.__CLUSTER__.__DOMAIN__.error.log