feat(hakurei): cloudflared

This commit is contained in:
arcnmx 2024-01-20 13:54:29 -08:00
parent ddcdcb0e0e
commit 7ded53ccc1
10 changed files with 258 additions and 15 deletions

View file

@ -24,13 +24,19 @@
proxy_redirect off;
proxy_buffering off;
'';
proxyPass = "http://localhost:32400";
in {
"plex.${config.networking.domain}" = {
locations."/".proxyPass = "http://localhost:32400";
locations."/" = {
inherit proxyPass;
};
inherit extraConfig;
};
"plex.local.${config.networking.domain}" = {
locations."/".proxyPass = "http://localhost:32400";
local.enable = true;
locations."/" = {
inherit proxyPass;
};
inherit extraConfig;
};
};