add a redirect for the awesome domain (doxed myself!!!)

This commit is contained in:
jacekpoz 2024-05-23 00:18:10 +02:00
parent 03cdd09e6e
commit 775e232887
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -7,13 +7,18 @@
in {
services.caddy = {
enable = true;
virtualHosts."jacekpoz.pl".extraConfig = ''
reverse_proxy localhost:${toString port}
'';
virtualHosts."jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow.html
'';
virtualHosts = {
"jacekpoz.pl".extraConfig = ''
reverse_proxy localhost:${toString port}
'';
"jpoz.pl".extraConfig = ''
redir / https://jacekpoz.pl
redir /git https://jacekpoz.pl/posts/git-workflow.html
'';
"jacek.poziem.ski".extraConfig = ''
redir https://jacekpoz.pl
'';
};
};
users.groups.site = {};