I would like to run an IPython notebook web server behind an Apache (reverse) proxy so that instead of the URL
https://my.server:XXXX
(where XXX
Based on Apache's config of @adam, I'm putting here a full SSL-aware sections but without the /ipython prefix, and i'm giving also the SSL-options for anyone interested:
ServerAdmin myname@my.place.com
ServerName some.server.com
SSLEngine off
Redirect permanent / https://some.server.com
## From http://stackoverflow.com/questions/23890386/how-to-run-ipython-behind-an-apache-proxy
#
ServerAdmin myname@my.place.com
ServerName some.server.com
SSLEngine on
SSLCertificateFile some_server_com.crt
SSLCertificateKeyFile some_server_com.key
ProxyPass http://localhost:8888/
ProxyPassReverse http://localhost:8888/
ProxyPassReverseCookieDomain localhost some.server.com
RequestHeader set Origin "http://localhost:8888"
ProxyPass ws://localhost:8888/api/kernels/
ProxyPassReverse ws://localhost:8888/api/kernels/
Redirect permanent / https://some.server.com