LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2024, 02:08 AM   #1
kzo81
Member
 
Registered: Aug 2014
Location: Hungary
Distribution: Debian, Linux Mint, CentOS
Posts: 197

Rep: Reputation: Disabled
Traccar - Squid Proxy


Hi,

I created a Squid Proxy server, with this configuration:
Code:
# OpenStreetMap
visible_hostname osmproxy.lab.lan
# port
http_port 443 act-as-origin
# parent cache
cache_peer tile.openstreetmap.org parent 443 0 no-query no-digest originserver name=osmTiles forceddomain=tile.openstreetmap.org

# lan segment
acl lab src 192.168.50.0/24
http_access allow lab
http_access deny all

# memory configuration
cache_mem 1024 MB
maximum_object_size_in_memory 512 KB
cache_dir aufs /var/spool/squid 1024 16 256
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 3600 90% 302400

# log time format
logformat combined %>a %[ui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
logformat custom %tl.%03tu %>a %Ss/%03>Hs %<st %rm %ru %[un %Sh/%<a %mt
access_log daemon:/var/log/squid/access.log combined
And when I insert this to the Traccar's custom map URL, it doesnt pull the tiles anymore:
Code:
192.168.50.101:3128 https://a.tile.openstreetmap.org/{z}/{x}/{y}.png
This test works properly
Code:
curl -I 192.168.50.101:3128 https://a.tile.openstreetmap.org/9/286/187.png
Do you have any idea what am I doing wrong?

Thanks Guys!

Last edited by kzo81; 04-10-2024 at 07:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] traccar - H2 database - python connection kzo81 Programming 2 10-01-2021 01:32 PM
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
Need help to connect a squid proxy to connect to another squid proxy server bellerophon Linux - Newbie 1 02-07-2006 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration