Add new file

This commit is contained in:
Aaron Honeycutt 2024-11-22 01:43:06 +00:00
parent 925019975a
commit 89e48d0b9c

15
homelab/nginx/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ lib, pkgs, config, ... }:
{
services.nginx = {
enable = true;
virtualHosts."ahoneybun.net" = {
root = "/mnt/DATA/Website/ahoneybun.net/public";
locations."/" = {
extraConfig = ''
default_type text/html;
'';
};
};
};
}