Check this page:
I've tried, but it's not a case, and it's for anyone who wants to use ssl. I want to do the redirect without ssl.
Obviously you have to skip anything related to SSL, but the information on how to proxy WebSocket connection is there.
Thank you for your help ....
It worked fine using it like that.
<VirtualHost *:80>
ServerName 45.xx.xx.25
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ProxyPass /api/socket ws://45.xx.xx.25:8082/api/socket
ProxyPassReverse /api/socket ws://45.xx.xx.25:8082/api/socket
ProxyPass / http://45.xx.xx.25:8082/
ProxyPassReverse / http://45.xx.xx.25:8082/
</VirtualHost>
Unfortunately PHPMYADMIN can no longer be accessed by ip/phpmyadmin.
The path is missing. Also, have you enabled all required modules in Apache?
I'm using this script to redirect to the tracccar, it works fine, however, after I start using it the message appears websocket connection error.