diff --git a/roles/jupyterhub/templates/patch-http-warning.sh b/roles/jupyterhub/templates/patch-http-warning.sh new file mode 100755 index 000000000..b014af707 --- /dev/null +++ b/roles/jupyterhub/templates/patch-http-warning.sh @@ -0,0 +1,4 @@ +#!/bin/bash -x +# Do not enable the warning about the insecurity of http protocol + + sed -i -e's/if (window\.location.*/if (false) {/' /opt/iiab/jupyterhub/share/jupyterhub/templates/login.html