Domain redirection using apache not working properly
Hi,
I'm running repetier-server 0.80.1 on my raspberry. Everything works well. But now I want to access the interface from the outside. I have created a domain and as I have several domain on the same server I use apache making the right redirection.
I have created a new vhost like this:
I'm running repetier-server 0.80.1 on my raspberry. Everything works well. But now I want to access the interface from the outside. I have created a domain and as I have several domain on the same server I use apache making the right redirection.
I have created a new vhost like this:
<VirtualHost *:80>
ServerName 3dprint-xxxx.ml
RewriteEngine on
RewriteCond %{HTTP:CONNECTION} Upgrade [NC]
RewriteCond %{HTTP:UPGRADE} websocket [NC]
RewriteRule /(.*) ws://localhost:3344/%1 [P,L]
ProxyRequests off
<Location />
ProxyPass http://127.0.0.1:3344/
ProxyPassReverse /
</Location>
</VirtualHost>
It looks like something is not well set as when I load the interface I only have the top frame, without the possibility to login.
result can be seen here : http://3dprint-mathlab.ml
Any idea?
Thanks
Math
Thanks
Math
Comments