mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-12 19:43:07 +02:00
19 lines
459 B
Nix
19 lines
459 B
Nix
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;
|
|
};
|
|
}
|