Setup webserver service
This commit is contained in:
parent
1265ae017d
commit
ec13d1b5cf
|
@ -6,6 +6,7 @@
|
|||
./minecraft
|
||||
./borgbackup.nix
|
||||
./forgejo.nix
|
||||
./httpd.nix
|
||||
./mpd.nix
|
||||
./samba.nix
|
||||
];
|
||||
|
|
16
nixos/viridian/services/httpd.nix
Normal file
16
nixos/viridian/services/httpd.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
services.httpd = {
|
||||
enable = true;
|
||||
virtualHosts."sajenim.dev" = {
|
||||
documentRoot = "/srv/services/httpd/sajenim.dev";
|
||||
listen = [{
|
||||
ip = "192.168.1.102";
|
||||
port = 5624;
|
||||
}];
|
||||
adminAddr = "its.jassy@pm.me";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in a new issue