Update
This commit is contained in:
parent
8e0691ca6a
commit
251f535146
10
hosts/shared/nginx.nix
Normal file
10
hosts/shared/nginx.nix
Normal 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
6
hosts/shared/openssh.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
ports = [ 22 ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user