nixos-dotfiles/hosts/titan/services/caddy.nix

20 lines
459 B
Nix
Raw Permalink Normal View History

inputs: { config, ... }: {
services.caddy = {
enable = true;
/*
virtualHosts = {
"https://gra.phite.ro".extraConfig = ''
root * /home/ultra/code/html/blog
'';
"https://git.gra.phite.ro".extraConfig = ''
reverse_proxy :3000
'';
"https://phite.ro".extraConfig = ''
redir https://gra.phite.ro{uri} permanent
'';
};
*/
configFile = /home/ultra/code/html/blog/Caddyfile;
};
}