Enable nginx

This commit is contained in:
Rodrigo Arias 2024-09-16 16:33:34 +02:00
parent 43e4c60dd5
commit c8ca5adf84
2 changed files with 15 additions and 0 deletions

View File

@ -17,6 +17,7 @@
./gitea.nix ./gitea.nix
./msmtp.nix ./msmtp.nix
./postgresql.nix ./postgresql.nix
./nginx.nix
#./pxe.nix #./pxe.nix
]; ];

14
m/hut/nginx.nix Normal file
View File

@ -0,0 +1,14 @@
{
services.nginx = {
enable = true;
virtualHosts."jungle.bsc.es" = {
listen = [
{
addr = "127.0.0.1";
port = 8123;
}
];
locations."/p/".alias = "/ceph/p/";
};
};
}