9 upstream collections_downloads_upstream:
10 - server: '127.0.0.2:9002 fail_timeout=10s'
15 arvados_collections_default:
20 - server_name: collections.fixme.example.net download.fixme.example.net
23 - location /.well-known:
26 - return: '301 https://$host$request_uri'
28 ### COLLECTIONS / DOWNLOAD
29 arvados_collections_downloads:
34 - server_name: collections.fixme.example.net download.fixme.example.net
37 - index: index.html index.htm
39 - proxy_pass: 'http://collections_downloads_upstream'
40 - proxy_read_timeout: 90
41 - proxy_connect_timeout: 90
42 - proxy_redirect: 'off'
43 - proxy_set_header: X-Forwarded-Proto https
44 - proxy_set_header: 'Host $http_host'
45 - proxy_set_header: 'X-Real-IP $remote_addr'
46 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
47 - proxy_buffering: 'off'
48 - client_max_body_size: 0
49 - proxy_http_version: '1.1'
50 - proxy_request_buffering: 'off'
51 # - include: 'snippets/letsencrypt.conf'
52 - include: 'snippets/snakeoil.conf'
53 - access_log: /var/log/nginx/collections.fixme.example.net.access.log combined
54 - error_log: /var/log/nginx/collections.fixme.example.net.error.log