I am trying to set up galaxy server with IE jupyter with apache proxy and SSL enbled.
== galaxy.ini
dynamic_proxy_manage=False ('True' gives the same error)
dynamic_proxy=node
dynamic_proxy_session_map=database/session_map.sqlite
#dynamic_proxy_bind_port=8800
#dynamic_proxy_bind_ip=0.0.0.0
dynamic_proxy_external_proxy=True
dynamic_proxy_prefix=gie_proxy
== httpd.conf
ProxyPass /gie_proxy/jupyter/ipython/api/kernels
ws://localhost:8800/gie_proxy/jupyter/ipython/api/kernels
VirtualHost _default_:80>
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</VirtualHost>
It works fine with HTTP but not HTTPS and, naturally, I get
jquery.js:10261 Mixed Content: The page at 'https://mydomain.xx/' was loaded over HTTPS, but requested an insecure XMLHttpRequest
endpoint 'http://mydomain.xx/gie_proxy/jupyter/ipython/login?next=%2Fgie_proxy%2Fjupyter%2Fipython%2Ftree'. This request has been blocked; the content must be served over HTTPS.
Is there a way to modify the container config such that it runs on a https, or is there a galaxy configuration routine I can
use?
Thank you
Nikolay
===============
Nikolay Vazov, PhD
Department for Research Computing, University of Oslo