add proxy.ps2.live

This commit is contained in:
41666 2024-11-25 17:49:47 -08:00
parent 88a73fb421
commit 5a18bab226

View file

@ -40,6 +40,8 @@ in rec {
staticsites.servers."${tsHost "static-sites" 80}" = {};
ldr.servers."${tsHost "live-doll-repair" 80}" = {};
jitsi.servers."${tsHost "jitsi" 443}" = {};
pushps2.servers."push.planetside2.com:443" = {};
};
proxyCachePath."pdr" = {
@ -102,6 +104,18 @@ in rec {
"metagame.ps2.live" = ps2live "metagame";
"i-pk.noe.sh" = ps2live "plapkit";
"proxy.ps2.live" = {
locations."/" = {
recommendedProxySettings = true;
proxyPass = "https://pushps2";
proxyWebsockets = true;
};
extraConfig = ''
deny all;
allow 127.0.0.1 100.64.0.0/10 10.0.0.0/8 15.204.161.37 108.238.21.159 162.197.1.49;
'';
};
"flesh.doll.repair" = {
serverAliases = [ "conference.flesh.doll.repair" "auth.flesh.doll.repair" ];
locations."/" = {