diff options
author | Akshay <[email protected]> | 2024-04-14 09:52:21 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-04-14 09:52:21 +0100 |
commit | 52c6c494cadea419a468532714d486292d90470c (patch) | |
tree | f78aa3299f4048063bca63c2d01ede4eb05193b8 /hosts/laurel | |
parent | 05edafdca5a7f216cc5b0e30e29f2a74a535ca35 (diff) |
.
Diffstat (limited to 'hosts/laurel')
-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 | }; |