You can use Apache proxy for that. Some more info here:
Thanks for that quick reply Anton. Just out of interest have you tried to implement the traccar web interface within the apache tomcat server
I haven't tried, but it should be possible. Again, you would have to use proxy to enable Traccar API. There is no way to move the API part into the Apache.
I want to try and add SSL support for demo server when I have some free time.
That would be great if you could add SSL support. I do firmly believe it would be a big leap foreword for this outstanding project
I don't plan to add support directly into Traccar because it's already possible to implement SSL support via Apache or other proxy.
I see. All I have running on my Server is Java JRE and traccar. nothing else. I was hoping not to have to install apache or anything else.
Apache is a very light-weight server, so I don't think it affect resource usage or performance.
Ok I managed to get ssl working by place this in apache conf. it works well until I fire the site up on my mobile. for some reason ssl breaks
ProxyPass /gps/ http://127.0.0.1:8082/
ProxyPassReverse /gps/ http://127.0.0.1:8082/
ProxyPass /api/ http://127.0.0.1:8082/api/
ProxyPassReverse /api/ http://127.0.0.1:8082/api/
you can test it at http://smstrack.uk/gps/
I doesn't work for me ("Not Found" error).
Sorry it is https https://smstrack.uk/gps/ is working well for me but not on a mobile device the ssl breaks
I guess there is something wrong with mobile version. Try to contact web interface author.
Have you tried without "/gps" sub-folder? It might be causing your problem.
Seems to be working ok now. just been on a 70 mile round trip and looked at traccar afterwards and I must say it is fairly accurate. if anyone wants to try it out they are more than welcome. https://smstrack.uk/track/
you can use this howto :
http://www.giuseppeurso.eu/en/redirect-from-http-to-https-and-viceversa-with-apache-proxypass/
Does anyone know how to install SSL to work with the Traccar Server. If its not possible yet has anyone installed the traccar web interface in apache or tomcat. I think SSL would be an important feature a customer would expect when considering to use you Traccar server.