2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
11 arvados_download_default.conf:
16 - server_name: download.__CLUSTER__.__DOMAIN__
20 - return: '301 https://$host$request_uri'
23 arvados_download_ssl.conf:
30 - server_name: download.__CLUSTER__.__DOMAIN__
32 - __KEEPWEB_EXT_SSL_PORT__ http2 ssl
33 - index: index.html index.htm
35 - proxy_pass: 'http://collections_downloads_upstream'
36 - proxy_read_timeout: 90
37 - proxy_connect_timeout: 90
38 - proxy_redirect: 'off'
39 - proxy_set_header: X-Forwarded-Proto https
40 - proxy_set_header: 'Host $http_host'
41 - proxy_set_header: 'X-Real-IP $remote_addr'
42 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
43 - proxy_buffering: 'off'
44 - client_max_body_size: 0
45 - proxy_http_version: '1.1'
46 - proxy_request_buffering: 'off'
47 - include: snippets/ssl_hardening_default.conf
48 - ssl_certificate: __CERT_PEM__
49 - ssl_certificate_key: __CERT_KEY__
50 - access_log: /var/log/nginx/download.__CLUSTER__.__DOMAIN__.access.log combined
51 - error_log: /var/log/nginx/download.__CLUSTER__.__DOMAIN__.error.log