From 52c6c494cadea419a468532714d486292d90470c Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 14 Apr 2024 09:52:21 +0100 Subject: . --- hosts/laurel/configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'hosts/laurel') diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix index 99d04e7..a40dafd 100644 --- a/hosts/laurel/configuration.nix +++ b/hosts/laurel/configuration.nix @@ -60,7 +60,10 @@ }; services.openssh.enable = true; services.tailscale.enable = true; - services.nginx.enable = true; + services.nginx = { + enable = true; + user = "op"; + }; services.invidious = { enable = true; @@ -113,10 +116,10 @@ }; services.nginx.virtualHosts."oppi.li" = { - listen = [{ port = 80; addr = "0.0.0.0"; }]; + listen = [{ port = 8282; addr = "0.0.0.0"; }]; + root = "/home/op/site/docs"; locations."/" = { tryFiles = "$uri $uri/ =404"; - root = "/home/op/site/docs"; index = "index.html"; }; }; -- cgit v1.2.3