You don't need to change any paths. What you need to do is configure proxy. You can find info for your exact situation here:
I have done it many times in these two weeks but it does not respond.. :/
It probably means that you are missing something. Not sure why you didn't mention it in your original comment.
What you have posted in your comment will never work. It's definitely a wrong way.
<IfModule mod_ssl.c>
<VirtualHost _default_:80>
ServerName app. domain. com
ServerAlias www. app.domain. com
Redirect / https:// app. domain. com
</VirtualHost>
<VirtualHost _default_:443>
ServerName app. domain. com
ServerAdmin info@ domain. com
DocumentRoot /var/www/html
ProxyPass /api/socket ws://localhost:8082/api/socket
ProxyPassReverse /api/socket ws://localhost:8082/api/socket
ProxyPass / http://localhost:8082/
ProxyPassReverse / http://localhost:8082/
SSLEngine on
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
</VirtualHost>
</IfModule>
Have you figured this out ?
Hello !
The last 4-5 months I use the Traccar on a simple cloud server,
and works great with ssl and so on..
because I like websites and servers and I do it as an amateur I have different hosts
I thought of buying a dedicated server with plesk and put all my sites and everything in a one place..
I have installed the traccar and works great with old database i have in 8082 port
!!! The Problem !!!
My problem is that i want to make traccar work with my domain from a different path
If a put the "web" folder and I transferred it to
/var/www/vhosts/DOMAIN.com/SUB.DOMAIN.com
and also a made the change to traccar.xml
<entry key='web.path'>/var/www/vhosts/DOMAINr/SUB.DOMAIN</entry>
the traccar web is not responding correctly .. it seems I tried to load with the spinner but I have an error in a small tab..
can somebody help me ?
I've been trying for two weeks..
maybe it's something simple that does not come to mind.. :/