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.conf:
24 - server_name: keep.__CLUSTER__.__DOMAIN__
27 - location /.well-known:
30 - return: '301 https://$host$request_uri'
32 arvados_keepproxy_ssl.conf:
36 file: extra_custom_certs_keepproxy_cert_file_copy
39 - server_name: keep.__CLUSTER__.__DOMAIN__
41 - __CONTROLLER_EXT_SSL_PORT__ http2 ssl
42 - index: index.html index.htm
44 - proxy_pass: 'http://keepproxy_upstream'
45 - proxy_read_timeout: 90
46 - proxy_connect_timeout: 90
47 - proxy_redirect: 'off'
48 - proxy_set_header: X-Forwarded-Proto https
49 - proxy_set_header: 'Host $http_host'
50 - proxy_set_header: 'X-Real-IP $remote_addr'
51 - proxy_set_header: 'X-Forwarded-For $proxy_add_x_forwarded_for'
52 - proxy_buffering: 'off'
53 - client_body_buffer_size: 64M
54 - client_max_body_size: 64M
55 - proxy_http_version: '1.1'
56 - proxy_request_buffering: 'off'
57 - include: snippets/ssl_hardening_default.conf
58 - ssl_certificate: /etc/nginx/ssl/arvados-keepproxy.pem
59 - ssl_certificate_key: /etc/nginx/ssl/arvados-keepproxy.key
60 - access_log: /var/log/nginx/keepproxy.__CLUSTER__.__DOMAIN__.access.log combined
61 - error_log: /var/log/nginx/keepproxy.__CLUSTER__.__DOMAIN__.error.log