2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
13 upstream keepproxy_upstream:
14 - server: 'keep.internal:25100 fail_timeout=10s'
19 arvados_keepproxy_default:
24 - server_name: keep.__CLUSTER__.__DOMAIN__
27 - location /.well-known:
30 - return: '301 https://$host$request_uri'
32 arvados_keepproxy_ssl:
37 - server_name: keep.__CLUSTER__.__DOMAIN__
39 - __HOST_SSL_PORT__ http2 ssl
40 - index: index.html index.htm
42 - proxy_pass: 'http://keepproxy_upstream'
43 - proxy_read_timeout: 90
44 - proxy_connect_timeout: 90
45 - proxy_redirect: 'off'
46 - proxy_set_header: X-Forwarded-Proto https
47 - proxy_set_header: 'Host $http_host'
48 - proxy_set_header: 'X-Real-IP $remote_addr'
49 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
50 - proxy_buffering: 'off'
51 - client_body_buffer_size: 64M
52 - client_max_body_size: 64M
53 - proxy_http_version: '1.1'
54 - proxy_request_buffering: 'off'
55 - include: 'snippets/arvados-snakeoil.conf'
56 - access_log: /var/log/nginx/keepproxy.__CLUSTER__.__DOMAIN__.access.log combined
57 - error_log: /var/log/nginx/keepproxy.__CLUSTER__.__DOMAIN__.error.log