add personal website

This commit is contained in:
Aaron Honeycutt 2025-02-25 14:57:00 +00:00
parent 6b4b50cb07
commit 0f105108ef

View file

@ -0,0 +1,20 @@
{ config, pkgs, lib, ... }:
{
services.nginx = {
enable = true;
virtualHosts."ahoneybun.net" = {
root = "/mnt/DATA/Website/ahoneybun.net/public";
locations."/" = {
extraConfig = ''
default_type text/html;
'';
};
locations."~* \.atom\.xml$" = {
extraConfig = ''
types { } default_type "application/atom+xml; charset=utf-8";
'';
};
};
};
}