X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/73a0b42b03c3a8c247712ce5e64b7215686e9cef..aea99ea5eafb8d2256a6441a72021eaf9db7cbb2:/test/salt/pillar/examples/nginx_keepweb_configuration.sls diff --git a/test/salt/pillar/examples/nginx_keepweb_configuration.sls b/test/salt/pillar/examples/nginx_keepweb_configuration.sls index 6547e82..be18c4d 100644 --- a/test/salt/pillar/examples/nginx_keepweb_configuration.sls +++ b/test/salt/pillar/examples/nginx_keepweb_configuration.sls @@ -1,4 +1,8 @@ --- +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + ### NGINX nginx: ### SERVER @@ -7,12 +11,12 @@ nginx: ### STREAMS http: upstream collections_downloads_upstream: - - server: '127.0.0.2:9002 fail_timeout=10s' + - server: 'collections.internal:9002 fail_timeout=10s' servers: managed: ### DEFAULT - arvados_collections_download_default: + arvados_collections_download_default.conf: enabled: true overwrite: true config: @@ -26,9 +30,11 @@ nginx: - return: '301 https://$host$request_uri' ### COLLECTIONS / DOWNLOAD - arvados_collections_download_ssl: + arvados_collections_download_ssl.conf: enabled: true overwrite: true + requires: + file: nginx_snippet_arvados-snakeoil.conf config: - server: - server_name: collections.fixme.example.net download.fixme.example.net @@ -48,7 +54,7 @@ nginx: - client_max_body_size: 0 - proxy_http_version: '1.1' - proxy_request_buffering: 'off' - # - include: 'snippets/letsencrypt.conf' - - include: 'snippets/snakeoil.conf' + - include: 'snippets/ssl_hardening_default.conf' + - include: 'snippets/arvados-snakeoil.conf' - access_log: /var/log/nginx/collections.fixme.example.net.access.log combined - error_log: /var/log/nginx/collections.fixme.example.net.error.log