Compare commits

..

No commits in common. "ec5022d67199d9d15e43b60931b261fcdc0eabe7" and "dc0a21b9c412a043ba986373f12e5a3e6e237df5" have entirely different histories.

2 changed files with 3 additions and 20 deletions

View file

@ -32,18 +32,9 @@
trustForwardHeader = true; trustForwardHeader = true;
}; };
}; };
redirect-flake-sh = {
redirectregex = {
regex = "^https?://flake\\.sh/(.*)";
replacement = "https://notohh.dev/";
permanent = false;
};
};
redirect-to-https = { redirect-to-https = {
redirectscheme = { redirectscheme.scheme = "https";
scheme = "https"; redirectscheme.permanent = true;
permanent = true;
};
}; };
cors = { cors = {
headers = { headers = {
@ -71,14 +62,6 @@
tls.domains = [{main = "*.notohh.dev";}]; tls.domains = [{main = "*.notohh.dev";}];
tls.certresolver = "production"; tls.certresolver = "production";
}; };
flake-sh = {
rule = "Host(`${pqdn}`)";
entrypoints = ["websecure"];
service = "noop@internal";
middlewares = "redirect-flake-sh";
tls.domains = [{main = "*.${pqdn}";}];
tls.certresolver = "production";
};
uptime-kuma = { uptime-kuma = {
rule = "Host(`status.${pqdn}`)"; rule = "Host(`status.${pqdn}`)";
entrypoints = ["websecure"]; entrypoints = ["websecure"];

View file

@ -3,7 +3,7 @@
services.anki-sync-server = { services.anki-sync-server = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
address = "0.0.0.0"; address = "100.108.113.89";
port = 27701; port = 27701;
users = [ users = [
{ {