bert: sharontrahan.com: Serve hosted files not redirects
This commit is contained in:
parent
8acf2b2b4e
commit
6bfcf64e98
1 changed files with 14 additions and 1 deletions
|
|
@ -2,7 +2,20 @@
|
|||
services.caddy.virtualHosts."sharontrahan.com" = {
|
||||
serverAliases = ["www.sharontrahan.com"];
|
||||
extraConfig = ''
|
||||
redir https://fusion-living.com/
|
||||
encode zstd gzip
|
||||
file_server
|
||||
root * /srv/www/sharontrahan.com
|
||||
|
||||
handle_errors {
|
||||
respond "{err.status_code} {err.status_text}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.settings."10-sharontrahan-com" = {
|
||||
"/srv/www/sharontrahan.com" = {
|
||||
d = {
|
||||
user = "kathe";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue