Skip to content

Commit

Permalink
feat: remove localhost from caddy config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Manz committed Dec 4, 2023
1 parent 47bc66e commit f8f2144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/caddy.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ let
vhostConfig
];

vhostDomains = cfg.additionalServerAlias ++ [ "127.0.0.1" "localhost" ];
vhostDomains = cfg.additionalServerAlias ++ [ "127.0.0.1" ];

caddyHostConfig = (lib.mkMerge
(lib.forEach vhostDomains (domain: {
Expand Down

0 comments on commit f8f2144

Please sign in to comment.