summaryrefslogtreecommitdiff
path: root/modules/networking/caddy.nix
blob: de6b9c4465e1dbdc01146eec58dc32c684e7aac1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  services.caddy = {
    enable = true;

    virtualHosts = {
      "i2pd.localhost".extraConfig = ''
        reverse_proxy localhost:7070
      '';

      "glance.localhost".extraConfig = ''
        reverse_proxy localhost:8080
      '';
    };
  };
}