Hi,
I’m trying to use shinyproxy with an apache reverse proxy, to support the off-loading of an SSL certificate. There is an example proxy configuration for nginx on the webpage (http://www.shinyproxy.io/security/), I would like to do the same, but using apache.
My apache config file:
<VirtualHost *:443>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine On
# Set the path to SSL certificate
# Usage: SSLCertificateFile /path/to/cert.pem
SSLCertificateFile /etc/apache2/ssl/ca.crt
SSLCertificateKeyFile /etc/apache2/ssl/ca.key
ProxyPreserveHost On
ProxyPass / http://0.0.0.0:8080/
ProxyPassReverse / http://0.0.0.0:8080/
I can connect to shinyproxy and start a container, but can’t establish a connection with the container. The error message from browser console is:
WebSocket connection to ‘wss://10.10.1.60/frosty_bhabha/websocket/’ failed: Error during WebSocket handshake: Unexpected response code: 404
where “frosty_bhabha” is the running container’s name. Any idea, what the problem could be?
Is there someone who managed to set up shinyproxy behind an apache reverse proxy?
Regards,
Jancsi