bert: Add svsindustries.org fileserver
Co-Authored-By: Eric Villnow <eric@vill.now>
This commit is contained in:
parent
53947efb99
commit
85e5dfd84b
2 changed files with 21 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
./social.chandlerswift.com.nix
|
||||
./stjohnscccc.com.nix
|
||||
./stjohnscccc.org.nix
|
||||
./svsindustries.org.nix
|
||||
./swiftgang.net.nix
|
||||
./troop352.us.nix
|
||||
./whereis.chandlerswift.com.nix
|
||||
|
|
|
|||
20
bert/services/http/svsindustries.org.nix
Normal file
20
bert/services/http/svsindustries.org.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
{
|
||||
services.caddy.virtualHosts."svsindustries.org" = {
|
||||
# serverAliases = ["*.svsindustries.org"];
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
file_server
|
||||
root * /srv/www/svsindustries.org
|
||||
|
||||
handle_errors {
|
||||
respond "{err.status_code} {err.status_text}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.settings."10-svsindustries-org" = {
|
||||
"/srv/www/svsindustries.org" = {
|
||||
d = {};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue