Article 6KXJW Traccar - Squid Proxy

Traccar - Squid Proxy

by
kzo81
from LinuxQuestions.org on (#6KXJW)
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 combinedAnd 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}.pngThis test works properly
Code:curl -I 192.168.50.101:3128 https://www.openstreetmap.org/#map=8/47.184/19.509Do you have any idea what am I doing wrong?

Thanks Guys!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments