X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/927524f1be454de021180b74999d682780b8cb6b..267c02294d7d5c1f161921f9dade6b692a7029a2:/tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls diff --git a/tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls b/tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls index 1b21aaaeb6..67013f93c2 100644 --- a/tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls +++ b/tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls @@ -12,14 +12,16 @@ nginx: ### STREAMS http: upstream webshell_upstream: - - server: '__HOSTNAME_INT__:4200 fail_timeout=10s' + - server: '__IP_INT__:4200 fail_timeout=10s' ### SITES servers: managed: - arvados_webshell_ssl: + arvados_webshell_ssl.conf: enabled: true overwrite: true + requires: + __CERT_REQUIRES__ config: - server: - server_name: __HOSTNAME_EXT__ @@ -55,7 +57,9 @@ nginx: - add_header: "'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'" - add_header: "'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type'" - - include: 'snippets/arvados-snakeoil.conf' + - include: snippets/ssl_hardening_default.conf + - ssl_certificate: __CERT_PEM__ + - ssl_certificate_key: __CERT_KEY__ - access_log: /var/log/nginx/webshell.__CLUSTER__.__DOMAIN__.access.log combined - error_log: /var/log/nginx/webshell.__CLUSTER__.__DOMAIN__.error.log