This commit is contained in:
Hadi 2024-06-17 23:32:56 +02:00
parent 8e0691ca6a
commit 251f535146
2 changed files with 16 additions and 0 deletions

10
hosts/shared/nginx.nix Normal file
View File

@ -0,0 +1,10 @@
{
services.nginx = {
enable = true;
virtualHosts = {
"test.anotherhadi.com" = {
locations."/" = { proxyPass = "http://192.168.2.22"; };
};
};
};
}

6
hosts/shared/openssh.nix Normal file
View File

@ -0,0 +1,6 @@
{
services.openssh = {
enable = true;
ports = [ 22 ];
};
}