bert: add 0hats.com
Future direction: Have a systemd timer that regens this automatically, and updates the index page accordingly.
This commit is contained in:
parent
9e80802351
commit
0f4b0295c8
20
bert/services/http/0hats.com.nix
Normal file
20
bert/services/http/0hats.com.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
{
|
||||||
|
services.caddy.virtualHosts."0hats.com" = {
|
||||||
|
serverAliases = ["www.0hats.com"];
|
||||||
|
extraConfig = ''
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
root * /srv/www/0hats.com
|
||||||
|
|
||||||
|
handle_errors {
|
||||||
|
respond "{err.status_code} {err.status_text}"
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
systemd.tmpfiles.settings."10-0hats-com" = {
|
||||||
|
"/srv/www/0hats.com" = {
|
||||||
|
d = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./0hats.com.nix
|
||||||
./files.chandlerswift.com.nix
|
./files.chandlerswift.com.nix
|
||||||
./git.chandlerswift.com.nix
|
./git.chandlerswift.com.nix
|
||||||
./harborpaperco.com.nix
|
./harborpaperco.com.nix
|
||||||
|
|
Loading…
Reference in a new issue