this post was submitted on 31 Aug 2024
57 points (100.0% liked)

Privacy

789 readers
5 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

This is a guide I wrote for Immich's documentation. It features some Immich specific parts, but should be quite easy to adapt to other use cases.

It is also possible (and not technically hard) to self-host a protomaps release, but this would require 100GB+ of disk space (which I can't spare right now). The main advantages of this guide over hosting a full tile server are :

  • it's a single nginx config file to deploy
  • it saves you some storage space since you're only hosting tiles you've previously viewed. You can also tweak the maximum cache size to your needs
  • it is easy to configure a trade-off between map freshness and privacy by tweaking the cache expiration delay

If you try to follow it, please send me some feedback on the content and the wording, so I can improve it

top 14 comments
sorted by: hot top controversial new old
[–] MonkderVierte@lemmy.ml 5 points 2 months ago (1 children)

What is a map tile server?

[–] pcouy@lemmy.pierre-couy.fr 6 points 2 months ago (1 children)

It's a server that hosts map data for the whole world, and sends map fragments (tiles)as pictures for the coordinates and zoom levels that clients request from them

[–] MonkderVierte@lemmy.ml 3 points 2 months ago

Ah, thanks. Brain in weekend already.

[–] sorter_plainview@lemmy.today 4 points 2 months ago (1 children)

Great to see you in the wild again! Any update from Immich devs?

[–] pcouy@lemmy.pierre-couy.fr 3 points 2 months ago

There have been some changes in a few recent releases related to the concerns I raised :

  • the default tile provider is now hosted by the Immich's team using protomaps (still uses vloudflare though)
  • a new onboarding step providing the option to disable the map feature and clarifying the implications of leaving it enabled has been added
  • the documentation has been updated to clarify how to change the map provider, and includes this guide as a community guide
[–] mike_wooskey@lemmy.thewooskeys.com 2 points 1 month ago (1 children)

I just learned about OpenFreeMap. I've not done it but it touts itself as a simple way to host your own tile server. I'm assuming that your proxy would work for a self hosted tile server with a few alterations.

[–] pcouy@lemmy.pierre-couy.fr 1 points 1 month ago

Thank you for the link. I've seen it posted a few days ago.

The caching proxy for this tutorial should easily work with any tile server, including self-hosted. However, I'm not sure what the benefits would be if you are already self-hosting a tile server.

Lastly, the self-hosting documentation for OpenFreeMap mentions a 300GB of storage + 4GB of RAM requirement just for serving the tiles, which is still more than I can spare

[–] GolfNovemberUniform@lemmy.ml 2 points 2 months ago (1 children)

Didn't official nginx go proprietary or something a few months ago?

[–] pcouy@lemmy.pierre-couy.fr 5 points 2 months ago (1 children)

It's still available in Debian's default repositories, so it must still be open source (at least the version that's packaged for Debian)

[–] GolfNovemberUniform@lemmy.ml 1 points 2 months ago (1 children)

I think the changes happened after Debian 12 was released so it might just have the last open-source version in the repo. And someone made a fork immediately so it could be that too.

[–] pcouy@lemmy.pierre-couy.fr 5 points 2 months ago (1 children)

According to the Wikipedia article, "Nginx is free and open-source software, released under the terms of the 2-clause BSD license"

Do you have any source about it going proprietary ?

[–] GolfNovemberUniform@lemmy.ml 1 points 2 months ago (2 children)

Maybe it added telemetry instead of going proprietary. I don't exactly remember what happened. I saw news about it on Lemmy but my client doesn't support search so I can't find it now easily.

[–] pcouy@lemmy.pierre-couy.fr 5 points 2 months ago

Are you talking about Nginx Plus ? It seems to be a commercial product built on top of Nginx

[–] curbstickle@lemmy.dbzer0.com 5 points 2 months ago

A core developer quit and forked it to make freenginx, based on a claim of corporate interference in security practices.

This was about 6 months ago and probably what you are thinking of. Its still open source, there doesn't seem to be anything that's come of the issue that was the cause of the split, and nginx is still actively developed.