From 05edafdca5a7f216cc5b0e30e29f2a74a535ca35 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 13 Apr 2024 21:03:51 +0100 Subject: laurel: oppili domain --- hosts/laurel/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hosts/laurel') diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix index 08679bc..99d04e7 100644 --- a/hosts/laurel/configuration.nix +++ b/hosts/laurel/configuration.nix @@ -112,6 +112,15 @@ }; }; + services.nginx.virtualHosts."oppi.li" = { + listen = [{ port = 80; addr = "0.0.0.0"; }]; + locations."/" = { + tryFiles = "$uri $uri/ =404"; + root = "/home/op/site/docs"; + index = "index.html"; + }; + }; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; # This option defines the first version of NixOS you have installed on this particular machine, -- cgit v1.2.3