baldur: enable kTLS and redirect for www.bertof.net

This commit is contained in:
Filippo Berto 2026-02-06 14:43:35 +01:00
parent 80691b2d84
commit 43c2395357
No known key found for this signature in database
GPG key ID: F1D17F9BCEC62FBC

View file

@ -104,9 +104,14 @@
ssl = {
enableACME = true;
forceSSL = true;
kTLS = true;
};
in
{
"www.bertof.net" = ssl // {
default = true;
locations."/".extraConfig = "rewrite ^/(berto/)?(.*)$ https://bertof.gitlab.io/$2 redirect ;";
};
"me.bertof.net" = ssl // {
locations."/".extraConfig = "rewrite ^/(berto/)?(.*)$ https://bertof.gitlab.io/$2 redirect ;";
};