nixos/hosts/shared/nginx.nix
2024-06-17 23:32:56 +02:00

11 lines
183 B
Nix

{
services.nginx = {
enable = true;
virtualHosts = {
"test.anotherhadi.com" = {
locations."/" = { proxyPass = "http://192.168.2.22"; };
};
};
};
}