Compare commits
4 commits
efb6bc7b95
...
b700b28160
Author | SHA1 | Date | |
---|---|---|---|
|
b700b28160 | ||
|
6a86383de9 | ||
|
646eb50eba | ||
|
8e73fab30f |
|
@ -12,11 +12,14 @@
|
|||
./lawrencedeerclub.chandlerswift.com.nix
|
||||
./maps.chandlerswift.com.nix
|
||||
./music.chandlerswift.com.nix
|
||||
./nau-sidewalks.chandlerswift.com.nix
|
||||
./preview.chandlerswift.com.nix
|
||||
./sharontrahan.com.nix
|
||||
./social.chandlerswift.com.nix
|
||||
./stjohnscccc.com.nix
|
||||
./stjohnscccc.org.nix
|
||||
./swiftgang.net.nix
|
||||
./troop352.us.nix
|
||||
./whereis.chandlerswift.com.nix
|
||||
];
|
||||
|
||||
|
|
34
bert/services/http/nau-sidewalks.chandlerswift.com.nix
Normal file
34
bert/services/http/nau-sidewalks.chandlerswift.com.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{config, ...}: {
|
||||
services.caddy.virtualHosts."nau-sidewalks.chandlerswift.com".extraConfig = ''
|
||||
reverse_proxy localhost:8003
|
||||
'';
|
||||
}
|
||||
|
||||
# { config, pkgs, lib, ... }:
|
||||
# let
|
||||
# nau-sidewalks = pkgs.buildGoModule {
|
||||
# pname = "nau-sidewalks";
|
||||
# version = "0.2.0";
|
||||
# src = pkgs.fetchgit {
|
||||
# url = "https://git.chandlerswift.com/chandlerswift/nau-sidewalks";
|
||||
# rev = "v0.2.0";
|
||||
# sha256 = "sha256-D8f7jPcgs6yD9D+V4uy3FIBqqqZVehZM7hJ6tdERKqc=";
|
||||
# };
|
||||
# vendorHash = "sha256-yKZdNhNyUOqywLy/RDjcziJ0FfrpuNcNMwyUAnRov60=";
|
||||
# };
|
||||
# in
|
||||
# {
|
||||
# systemd.services.nau-sidewalks = {
|
||||
# enable = true;
|
||||
# after = [ "network.target" ];
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
# serviceConfig = {
|
||||
# ExecStart = "${nau-sidewalks}/bin/nau-sidewalks";
|
||||
# Restart = "on-failure";
|
||||
# };
|
||||
# };
|
||||
|
||||
# services.caddy.virtualHosts."nau-sidewalks.chandlerswift.com".extraConfig = ''
|
||||
# reverse_proxy localhost:8001
|
||||
# '';
|
||||
# }
|
8
bert/services/http/sharontrahan.com.nix
Normal file
8
bert/services/http/sharontrahan.com.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
services.caddy.virtualHosts."sharontrahan.com" = {
|
||||
serverAliases = ["www.sharontrahan.com"];
|
||||
extraConfig = ''
|
||||
redir https://fusion-living.com/
|
||||
'';
|
||||
};
|
||||
}
|
25
bert/services/http/troop352.us.nix
Normal file
25
bert/services/http/troop352.us.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
services.caddy.virtualHosts."troop352.us" = {
|
||||
serverAliases = ["www.troop352.us" "troop352-demo.chandlerswift.com"];
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
file_server
|
||||
root * /srv/www/troop352.us
|
||||
|
||||
@notRoot {
|
||||
not path /
|
||||
not file
|
||||
}
|
||||
redir @notRoot /
|
||||
|
||||
handle_errors {
|
||||
respond "{err.status_code} {err.status_text}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.settings."10-troop352-us" = {
|
||||
"/srv/www/troop352.us" = {
|
||||
d = {};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue