mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(hakurei): cloudflared
This commit is contained in:
parent
ddcdcb0e0e
commit
7ded53ccc1
10 changed files with 258 additions and 15 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue