You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an attic cache at https://nix.mzte.de/mzte that I'd like to allow others to use, but if one visits this URL in a browser, it just returns a JSON-formatted 404 response. It would be nice to show a HTML page here instead that briefly summarized how to configure Nix to use the cache, so it's easy to share. Cachix also does something similar here.
The text was updated successfully, but these errors were encountered:
You can easily do that in your reverse proxy (e.g. nginx or caddy), which is also probably a cleaner and more customizable solution than native support by attic.
I don't see how that would work, as such a page would ideally show the public key of the cache (for setup without the attic CLI), which would require either something more complex than a simple page like nginx can provide on the backend, or complex JS on the frontend, which is avoidable here. I think it makes perfect sense to integrate this into attic.
I have an attic cache at
https://nix.mzte.de/mzte
that I'd like to allow others to use, but if one visits this URL in a browser, it just returns a JSON-formatted 404 response. It would be nice to show a HTML page here instead that briefly summarized how to configure Nix to use the cache, so it's easy to share. Cachix also does something similar here.The text was updated successfully, but these errors were encountered: