diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/laurel/configuration.nix | 9 |
1 files changed, 6 insertions, 3 deletions
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 @@ | |||
60 | }; | 60 | }; |
61 | services.openssh.enable = true; | 61 | services.openssh.enable = true; |
62 | services.tailscale.enable = true; | 62 | services.tailscale.enable = true; |
63 | services.nginx.enable = true; | 63 | services.nginx = { |
64 | enable = true; | ||
65 | user = "op"; | ||
66 | }; | ||
64 | 67 | ||
65 | services.invidious = { | 68 | services.invidious = { |
66 | enable = true; | 69 | enable = true; |
@@ -113,10 +116,10 @@ | |||
113 | }; | 116 | }; |
114 | 117 | ||
115 | services.nginx.virtualHosts."oppi.li" = { | 118 | services.nginx.virtualHosts."oppi.li" = { |
116 | listen = [{ port = 80; addr = "0.0.0.0"; }]; | 119 | listen = [{ port = 8282; addr = "0.0.0.0"; }]; |
120 | root = "/home/op/site/docs"; | ||
117 | locations."/" = { | 121 | locations."/" = { |
118 | tryFiles = "$uri $uri/ =404"; | 122 | tryFiles = "$uri $uri/ =404"; |
119 | root = "/home/op/site/docs"; | ||
120 | index = "index.html"; | 123 | index = "index.html"; |
121 | }; | 124 | }; |
122 | }; | 125 | }; |