19215: Fixes webshell nginx config.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 20 Oct 2022 17:05:12 +0000 (14:05 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Thu, 20 Oct 2022 17:05:12 +0000 (14:05 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls
tools/salt-install/config_examples/single_host/single_hostname/pillars/nginx_webshell_configuration.sls
tools/salt-install/provision.sh

index fc5b5a57561f06183ced2b63e801507bca281f41..10a9b79c9494d37a65c7dd66c2637c84c2a79516 100644 (file)
@@ -88,7 +88,7 @@ arvados:
     resources:
       virtual_machines:
         shell:
-          name: __HOSTNAME_EXT__
+          name: shell.__HOSTNAME_EXT__
           backend: 127.0.0.1
           port: 4200
 
index 67013f93c2ad96efd88e28b6a3c68c57b0abb754..7a5b704e793cb69a29275e7ef6bb5b7c996d73ea 100644 (file)
@@ -28,7 +28,7 @@ nginx:
             - listen:
               - __WEBSHELL_EXT_SSL_PORT__ http2 ssl
             - index: index.html index.htm
-            - location /__HOSTNAME_EXT__:
+            - location /shell.__HOSTNAME_EXT__:
               - proxy_pass: 'http://webshell_upstream'
               - proxy_read_timeout: 90
               - proxy_connect_timeout: 90
index f9566a03d99c7bf80eebd48df6f664293ebccb65..63e2d886acac7c45111620b797072c9e9353b89c 100755 (executable)
@@ -631,7 +631,7 @@ if [ -z "${ROLES}" ]; then
     echo "extra_custom_certs_dir: /srv/salt/certs" > ${P_DIR}/extra_custom_certs.sls
     echo "extra_custom_certs:" >> ${P_DIR}/extra_custom_certs.sls
 
-    for c in controller websocket workbench workbench2 webshell keepweb keepproxy shell; do
+    for c in controller websocket workbench workbench2 webshell keepweb keepproxy; do
       # Are we in a single-host-single-hostname env?
       if [ "${USE_SINGLE_HOSTNAME}" = "yes" ]; then
         # Are we in a single-host-single-hostname env?