19961: Merge branch 'main'
[arvados.git] / tools / salt-install / config_examples / multi_host / aws / pillars / nginx_api_configuration.sls
1 ---
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 ### ARVADOS
7 arvados:
8   config:
9     group: www-data
10
11 ### NGINX
12 nginx:
13   ### SITES
14   servers:
15     managed:
16       arvados_api.conf:
17         enabled: true
18         overwrite: true
19         config:
20           - server:
21             - listen: 'localhost:8004'
22             - server_name: api
23             - root: /var/www/arvados-api/current/public
24             - index:  index.html index.htm
25             - access_log: /var/log/nginx/api.__CLUSTER__.__DOMAIN__-upstream.access.log combined
26             - error_log: /var/log/nginx/api.__CLUSTER__.__DOMAIN__-upstream.error.log
27             - passenger_enabled: 'on'
28             - client_max_body_size: 128m