11 lines
183 B
Nix
11 lines
183 B
Nix
{
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts = {
|
|
"test.anotherhadi.com" = {
|
|
locations."/" = { proxyPass = "http://192.168.2.22"; };
|
|
};
|
|
};
|
|
};
|
|
}
|