I am trying to use a VirtualHost on my server with mod_proxy to add an authentication layer to another server I am running. The authentication and basic loading work correctly, but a main page requires the use of a different layer 5 protocol, ws:// instead of http://. In the ProxyPass(Reverse) directives, I must supply the layer 5 protocol to use. I have tried not supplying the protocol, supplying two different virtualhosts with the different protocols in the opening tag, e.g.
<VirtualHost http://192.168.192.172:5440> and
<VirtualHost ws://192.168.192.172:5440> both of which fail on loading the server. Is there another directive I can add, or a different way of setting up the VirtualHost that will instead work? My current VirtualHost config is:
<VirtualHost *:5440> ProxyPass / "http://192.168.192.172:8080" ProxyPassReverse / "http://192.168.192.172:8080" ProxyPreserveHost On </VirtualHost> Thanks in advance!