Skip to content

Commit

Permalink
Merge pull request #466 from nix-community/compression
Browse files Browse the repository at this point in the history
README: mention missing features
  • Loading branch information
Mic92 authored Nov 25, 2024
2 parents 43dc8d3 + 58db210 commit 14a7e99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ It's written in Rust for speed.
`nix-index`
- Add `/serve/<narhash>/` endpoint to allow serving the content of package.
Also discovers index.html to allow serving websites directly from the nix store.
- Content is compressed transparently with [zstd](https://en.wikipedia.org/wiki/Zstd).
- Builtin TLS: when no frontend webserver is used, Harmonia can also provide TLS encryption

## Configuration for public binary cache on NixOS

There is a module for harmonia in nixpkgs.
The following example set's up harmonia as a public binary cache using
nginx as a frontend webserver with https encryption and zstd for compression:
nginx as a frontend webserver with https encryption:

```nix
{ config, pkgs, ... }: {
Expand Down

0 comments on commit 14a7e99

Please sign in to comment.