diff --git a/source/_posts/caddy-nixos-part-1.md b/source/_posts/caddy-nixos-part-1.md index 11a82b2..9501ad4 100644 --- a/source/_posts/caddy-nixos-part-1.md +++ b/source/_posts/caddy-nixos-part-1.md @@ -244,19 +244,15 @@ Following is my "configuration.nix". I'll show you how to secure NixOS using has services.tor = { enable = false; enableGeoIP = false; - hiddenServices = { - proxy = { - name = "proxy"; - version = 3; - map = [ - { - port = "80"; - toHost = "[::1]"; - toPort = "8080"; - } - ]; - }; - }; + hiddenServices = [{ + name = "proxy"; + version = 3; + map = [{ + port = "80"; + toHost = "[::1]"; + toPort = "8080"; + }]; + }]; extraConfig = '' ClientUseIPv4 0