mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 11:14:02 -06:00
Add new file
This commit is contained in:
parent
925019975a
commit
89e48d0b9c
1 changed files with 15 additions and 0 deletions
15
homelab/nginx/default.nix
Normal file
15
homelab/nginx/default.nix
Normal 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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue