niksos/hosts/chmura/trollface.pl/default.nix

17 lines
333 B
Nix
Raw Normal View History

2024-07-16 00:26:09 +02:00
{
2023-11-25 17:12:09 +01:00
services.caddy = {
enable = true;
virtualHosts."trollface.pl".extraConfig = ''
@discord {
header_regexp User-Agent (?i)(Discord)
path /
}
rewrite @discord /trollface.png
root * ${./.}
file_server
'';
};
}