nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 2b873d6e9db9f8536a96298f42455295f8fa7204
parent 6121634e3f31305f8884943a437e1e5de53dc060
Author: vin <vin@vineetk.net>
Date:   Sun,  2 Mar 2025 00:59:35 -0500

saklas: add nginx config, but have it disabled until later

Diffstat:
Mhosts/saklas/default.nix | 22++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)

diff --git a/hosts/saklas/default.nix b/hosts/saklas/default.nix @@ -35,6 +35,7 @@ isNormalUser = true; extraGroups = [ + "nginx" "wheel" ]; @@ -89,34 +90,43 @@ services = { # reverse proxy nginx = { - enable = true; + enable = false; recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; + recommendedZstdSettings = true; -/* virtualHosts = { "vineetk.net" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:8081"; + default = true; + locations."/" = { + index = "index.html"; + root = "/var/www/vineetk_html"; + }; }; "vinbiz.ca" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:8082"; + locations."/" = { + index = "index.html"; + root = "/var/www/vinbiz_html"; + }; }; "13f0.net" = { enableACME = true; forceSSL = true; - locations."/".proxyPass = "http://127.0.0.1:4533"; + locations."/" = { + index = "index.html"; + root = "/var/www/13f0_html"; + }; }; }; -*/ }; # ssh