![]() Note that you also need to recompile the modern app for it to work correctly on a new path. ProxyPass /gps/ ProxyPassReverse /gps/ ProxyPassReverseCookiePath / /gps/ ProxyPassReverse /gps/api/socket ws://localhost:8082/api/socket ProxyPass /gps/api/socket ws://localhost:8082/api/socket Here is a proxy configuration example: ProxyRequests off If you want Traccar to be in a subdirectory, in additional to proxying requests, you also need to adjust cookies path. Generally we recommend to avoid this and use a subdomain for Traccar instead. By default application is configured to use free Traccar service (address -, port - 5055). It reports location to your own or hosted server with selected time intervals. This part is only needed if you want to make your server available in a non root path. Traccar Client is an app that allows you to use your mobile device as a GPS tracker. Once the process is complete, you should have your server available via an HTTPS connection. All packages include the server and the web app. If you don't own a domain name yet, we recommend Namesilo with consistently low prices both for new domains and renewals.Īfter a domain name is configured and pointing to the server you can generate a free SSL certificate for your server using Let's Encrypt: sudo apt install certbot python3-certbot-apacheįollow the instructions from Certbot. The current official release of the Traccar GPS tracking system. Check our documentation on how register and to configure a custom domain name with Traccar. ![]() To get a valid SSL certificate you have to have a domain name. Next, disable the default site and enable the newly added configuration: sudo a2dissite 000-default SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem ![]() ProxyPass / ProxyPassReverse / SSLEngine on ProxyPassReverse /api/socket ws://localhost:8082/api/socket ProxyPass /api/socket ws://localhost:8082/api/socket Next, add a new site configuration: sudo nano /etc/apache2/sites-available/nfĬontent for the site configuration (replace with your domain): Traccar Server for GPS Tracking Demo DevOps & Cloud with Aryya 2.73K subscribers Subscribe 9 Share 3.1K views 1 year ago Traccar Tutorial We provide gps tracking service for your devices or. Sudo a2enmod ssl proxy_http proxy_wstunnel rewrite In this guide we will use Apache server with a proxy module.įirst, install the latest version of Apache server and enable required modules: sudo add-apt-repository ppa:ondrej/apache2 Traccar does not support secure connection out of the box, but a proxy server can be used to tunnel all requests through a secure connection. For Windows configuration using IIS check this forum thread. Examples are for Ubuntu Linux, but the general idea can be applied to all platforms. This guide provides instructions on how to configure Traccar to use secure HTTPS protocol with SSL/TLS encryption of all traffic. Traccar serves web interface and API using regular HTTP protocol, which does not use any encryption.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |