Replace nix-serve usage with nix-serve-ng
This commit is contained in:
@ -9,7 +9,10 @@
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/var/www/cache.matri.cx";
|
||||
locations."/".proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
|
||||
locations."/" = {
|
||||
extraConfig = "allow 192.168.0.0\/24;\ndeny all;";
|
||||
proxyPass = "http://${config.services.nix-serve.bindAddress}:${toString config.services.nix-serve.port}";
|
||||
};
|
||||
};
|
||||
|
||||
virtualHosts."caitlynncox.com" = {
|
||||
|
Reference in New Issue
Block a user