bert: Add chandlerswift.com
This commit is contained in:
parent
46adf7040b
commit
f2e7d24b2f
19
bert/services/http/chandlerswift.com.nix
Normal file
19
bert/services/http/chandlerswift.com.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
{
|
||||||
|
services.caddy.virtualHosts."chandlerswift.com".extraConfig = ''
|
||||||
|
encode zstd gzip
|
||||||
|
file_server
|
||||||
|
root * /srv/www/chandlerswift.com
|
||||||
|
# hide .git # ???
|
||||||
|
|
||||||
|
handle_errors {
|
||||||
|
respond "{err.status_code} {err.status_text}"
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
services.caddy.virtualHosts."www.chandlerswift.com".extraConfig = "redir https://chandlerswift.com{uri}";
|
||||||
|
systemd.tmpfiles.settings."10-chandlerswift-com" = {
|
||||||
|
"/srv/www/chandlerswift.com" = {
|
||||||
|
d = {};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./0hats.com.nix
|
./0hats.com.nix
|
||||||
./bannergen.chandlerswift.com.nix
|
./bannergen.chandlerswift.com.nix
|
||||||
|
./chandlerswift.com.nix
|
||||||
./files.chandlerswift.com.nix
|
./files.chandlerswift.com.nix
|
||||||
./git.chandlerswift.com.nix
|
./git.chandlerswift.com.nix
|
||||||
./harborpaperco.com.nix
|
./harborpaperco.com.nix
|
||||||
|
|
|
@ -189,7 +189,10 @@
|
||||||
|
|
||||||
programs.thunderbird.enable = true;
|
programs.thunderbird.enable = true;
|
||||||
|
|
||||||
programs.bash.enable = true;
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
historyControl = [ "ignoredups" "ignorespace" ];
|
||||||
|
};
|
||||||
|
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue