summaryrefslogtreecommitdiff
path: root/modules/networking/caddy.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-15 19:40:38 -0700
committerFuwn <[email protected]>2024-09-15 19:40:38 -0700
commitf65c064e28dbf06c32317fdb43b547873141699e (patch)
treee7cf1c48077167feef9617cee11f5e55988c2240 /modules/networking/caddy.nix
parenthome: rui (diff)
downloadnixos-config-f65c064e28dbf06c32317fdb43b547873141699e.tar.xz
nixos-config-f65c064e28dbf06c32317fdb43b547873141699e.zip
home: add glance
Diffstat (limited to 'modules/networking/caddy.nix')
-rw-r--r--modules/networking/caddy.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/modules/networking/caddy.nix b/modules/networking/caddy.nix
index e2880db..de6b9c4 100644
--- a/modules/networking/caddy.nix
+++ b/modules/networking/caddy.nix
@@ -2,8 +2,14 @@
services.caddy = {
enable = true;
- virtualHosts."i2pd.localhost".extraConfig = ''
- reverse_proxy localhost:7070
- '';
+ virtualHosts = {
+ "i2pd.localhost".extraConfig = ''
+ reverse_proxy localhost:7070
+ '';
+
+ "glance.localhost".extraConfig = ''
+ reverse_proxy localhost:8080
+ '';
+ };
};
}