X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6bf9e1a4b5640f3cdd057810f0c9b8a945bb88bd..050106662d06b96996e4c33ea3e896bc154783c8:/tools/salt-install/single_host/nginx_workbench2_configuration.sls diff --git a/tools/salt-install/single_host/nginx_workbench2_configuration.sls b/tools/salt-install/single_host/nginx_workbench2_configuration.sls index 733397adf3..8930be408c 100644 --- a/tools/salt-install/single_host/nginx_workbench2_configuration.sls +++ b/tools/salt-install/single_host/nginx_workbench2_configuration.sls @@ -42,8 +42,7 @@ nginx: - 'if (-f $document_root/maintenance.html)': - return: 503 - location /config.json: - - return: {{ "200 '" ~ '{"API_HOST":"__CLUSTER__.__DOMAIN__"}' ~ "'" }} - # - include: 'snippets/letsencrypt.conf' - - include: 'snippets/snakeoil.conf' + - return: {{ "200 '" ~ '{"API_HOST":"__CLUSTER__.__DOMAIN__:__HOST_SSL_PORT__"}' ~ "'" }} + - include: 'snippets/arvados-snakeoil.conf' - access_log: /var/log/nginx/workbench2.__CLUSTER__.__DOMAIN__.access.log combined - error_log: /var/log/nginx/workbench2.__CLUSTER__.__DOMAIN__.error.log