Lrnt
Basic Pleskian
Hi,
I need to use websocket to send command to a "Soundcraft UI12" from my (secured) website (https).
This device only accept unsecure websocket (on ws://[DEVICE_IP).
I read a lot a of things about ProxyPass/ProxyReverse and tried to use them without success.
Here what I have got :
Then I change websocket address from ws://10.0.0.8 to wss://mydomain.com/wss
But it does not work.
What am I missing?
I just want to set this without NGINX just in Apache for mydomain.com in order to send command to the device on HTTPS in Chrome.
Note: I will try to use later regex like ProxyPass /wss/(*.) ws://$1 if possible
I need to use websocket to send command to a "Soundcraft UI12" from my (secured) website (https).
This device only accept unsecure websocket (on ws://[DEVICE_IP).
I read a lot a of things about ProxyPass/ProxyReverse and tried to use them without success.
Here what I have got :
- OS : Debian 9.11
- Plesk Onyx Version 17.8.11
- Domain : mydomain.com on https:// (Let's encrypt certificate)
- Device : Soundcraft Ui12 on lan (IP: 10.0.0.8)
- Apache modules enabled : proxy, proxy_wstunnel, proxy_connect, proxy_http
Code:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /wss ws://10.0.0.8
ProxyPassReverse /wss ws://10.0.0.8
Then I change websocket address from ws://10.0.0.8 to wss://mydomain.com/wss
But it does not work.
What am I missing?
I just want to set this without NGINX just in Apache for mydomain.com in order to send command to the device on HTTPS in Chrome.
Note: I will try to use later regex like ProxyPass /wss/(*.) ws://$1 if possible