From d4896b353eed0ab37cf8a2591fe1f5369c37883f Mon Sep 17 00:00:00 2001 From: tzlil Date: Thu, 16 Feb 2023 16:40:26 +0200 Subject: stuff --- hosts/vps/website.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'hosts/vps/website.nix') diff --git a/hosts/vps/website.nix b/hosts/vps/website.nix index 156e5da..9dc9fc7 100644 --- a/hosts/vps/website.nix +++ b/hosts/vps/website.nix @@ -4,12 +4,14 @@ config = { services.caddy = { enable = true; - virtualHosts."https://tzlil.club".extraConfig = '' - try_files ${pkgs.writeText "index.html" '' - hello world - ''} / - ''; + # virtualHosts = { + # "http://localhost".extraConfig = '' + # try_files ${pkgs.writeText "index.html" '' + # hello world + # ''} / + # ''; + # }; }; - networking.firewall.allowedTCPPorts = [443]; + networking.firewall.allowedTCPPorts = [80 443]; }; } \ No newline at end of file -- cgit 1.4.1